Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for numeric project ids #2

Conversation

2-shell
Copy link

@2-shell 2-shell commented Aug 12, 2020

For some unknown reason, using the project name with projects.list(search="...") didn't work for me.
Also, I always prefer using the numeric project ID to avoid any ambiguities in the first place (it's also faster).

So, I've added a check to use projects.get() if the project argument is a decimal number.

Note: I'm only a sidecar python developer, so comments are welcome. ;-)

@2-shell 2-shell changed the title Feature/add support for numeric project ids Add support for numeric project ids Aug 12, 2020
@2-shell 2-shell force-pushed the feature/add-support-for-numeric-project-ids branch from 61e125f to c4507db Compare August 12, 2020 10:20
@Adriks976 Adriks976 merged commit 994c876 into Adriks976:master Aug 24, 2020
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