Michael Förderer

Results 489 comments of Michael Förderer

> Can you run `curl https://api.bitbucket.org/2.0/repositories/m8fintech/prdx-market-maker/commits/01fafc5ac686d3100cb5364a9b1bc65d9c36603e`? According to https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-commit-commit-get this should return a hash but in your log it is a list of commits. I've checked it in my playground...

You can use the master branch until a new release is created.

Hi, a generator object is Python related. If used on the right side of a for loop it yields every entry. This is used for reducing load on the server...

But that's the way Python works. When there is a file open error you get also an exception which can be caught. Returning None has to be handled in each...

Ok. I understood it the other way. In my opinion an exception would be better here. The problem is that this change is incompatible with the current behavior.

@gonchik I think the more Pythonic way is not to catch the exception and return None. Let the user catch the exceptions.

But why logging it? This can the caller do if he want to have it. Removing the try/catch is enough.

> The documentation in bitbucket.rst shows the function: bitbucket.repo_list(project_key, limit=25) It does not describe to handle the output of the function. If I run that command and assign the output...