Skip to content

Conversation

@fedetorre
Copy link

Hi,
if you print the Account object the python interpreter raise this exception.
RuntimeError: maximum recursion depth exceeded

This pull request fix the problem.

Best,

Federico

Copy link
Member

@pierre pierre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I just have a couple of comments.

def find_by_id(cls, account_id, **options):
relative_url = "%s/%s" % (cls.KILLBILL_API_ACCOUNTS_PREFIX, account_id)
query_params = {
'accountWithBalance': False,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make these configurable?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I add it today.

@@ -0,0 +1,58 @@
#
# Copyright 2018 Federico Torresan
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We would ask you to assign copyright to The Billing Project, LLC instead.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I add The Billing Project, LLC to the copy line.

@fedetorre
Copy link
Author

Ok, I've done the required changes.
I'm still working on implementing some other resources I need for a project I'm currently develop so I send you some other pull requests in the next days.

ftorresan added 2 commits February 1, 2018 10:31
# Conflicts:
#	killbill/account.py
#	killbill/resource.py
@@ -0,0 +1,59 @@
#
# Copyright 2018 Quentral S.r.l.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry if I wasn't clear: we require a full copyright assignment for contributions (i.e. single copyright line to The Billing Project, LLC). This is to avoid potential problems in the future (e.g. future claims).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've seen in the other files that the copy is shared also with other companies (Groupon ecc..) that are involved in the library creation. Considering that I've updated the library during the work time of Quentral s.r.l., I need to check with my CEO if is it fine to let the copy only to The Billing Project, LLC.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The companies currently listed are the major sponsors of the project.

We insist on a full copyright assignment, especially on such small changes, because our project doesn't have the resources to track down individual authors for a license to redistribute the code.

I know this is a bit annoying but it is to make our life, as maintainers, easier, and to protect the project moving forward.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this contribute will become a "small change" (I have to add some other classes and methods in the near future), but I talked yesterday with my CEO and it is fine to remove our copy line.
In the last commit you find the line removed.

@@ -0,0 +1,59 @@
#
# Copyright 2018 Quentral S.r.l.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi pierre,
I've done all the changes you told me.
Please check if you need other changes or is it ok!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! We'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants