-
Notifications
You must be signed in to change notification settings - Fork 69
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
fix: updating testing, rest-only generation, & minor bug-fixes #716
Merged
Merged
Changes from 38 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
c1a6f89
feat: add rest transport generation for clients
yon-mg bd7c32d
feat: add rest transport generation for clients
yon-mg cd3a7f1
Merge branch 'master' of github.com:yon-mg/gapic-generator-python
yon-mg b41db31
feat: add transport flag
yon-mg ce69e7d
refactor: moved template logic outside
yon-mg 89fa08b
fix: small fixes in transport option logic
yon-mg 86f3a9c
test: added unit test for transport flag
yon-mg 234cc09
test: add unit test for http option method
yon-mg 35ac276
test: add unit test for http option method branch
yon-mg c8155a5
fix: fix import paths
yon-mg 55a815c
fix: style check issues
yon-mg ac0bdef
fix: more style check issues
yon-mg e79e8c7
fix: addressing pr reviews
yon-mg 824ad11
fix: typo in test_method
yon-mg 2d11e19
fix: style check fixes
yon-mg b5c6d06
Merge branch 'master' into master
yon-mg 221cd44
feat: add proper handling of query/path/body parameters for rest tran…
yon-mg 475f903
Merge branch 'master' of github.com:yon-mg/gapic-generator-python
yon-mg f08ca32
Merge remote-tracking branch 'upstream/master'
yon-mg efa0ed6
fix: typing errors
yon-mg d3e08c0
Update case.py
software-dov df88ef9
fix: minor changes adding a test, refactor and style check
yon-mg 67c6bd1
Merge branch 'master' of github.com:yon-mg/gapic-generator-python
yon-mg 37e3d28
fix: camel_case bug with constant case
yon-mg c964fba
fix: to_camel_case to produce lower camel case instead of PascalCase …
yon-mg 85be88d
fix: addressing pr comments
yon-mg 5d1c6a3
fix: adding appropriate todos, addressing comments
yon-mg f6c64cc
fix: dataclass dependency issue
yon-mg a4f34e7
Update wrappers.py
software-dov df8124b
Merge remote-tracking branch 'upstream/master'
yon-mg 3715876
Merge branch 'master' of github.com:yon-mg/gapic-generator-python
yon-mg 872e01d
fix: updating testing, rest-only generation, & minor bug-fixes
yon-mg 0f8a903
test: test async client generation
yon-mg cc5ae23
fix: fixed reserved keyword bug, fixed bugs in gapic tests
yon-mg 34b4b5d
fix: reverted bug causing change to , refactored template tests
yon-mg 06bfd2e
fix: return type mismatch
yon-mg 53771e9
fix: reserved keyword issue in
yon-mg 85a983d
fix: replace bad regex checks with checks against field_pb type
yon-mg 638a639
Update gapic/templates/noxfile.py.j2
yon-mg 7058f62
Merge branch 'master' into master
yon-mg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be easier to use
urllib.parse.urlencode
here (It will create thek=v
structure and glue the pairs together with&
characters).https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlencode
https://docs.python.org/3/library/urllib.request.html#urllib-examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how I missed this. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To clarify, I'll leave this out for now so I don't accidentally break anything but I'll update in the subsequent PR