conjure-python
conjure-python copied to clipboard
Conjure generator for Python clients
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/update-conjure check. To enable or disable this check, please contact the maintainers of Excavator.
## Before this PR ## After this PR ==COMMIT_MSG== Add pytest for a union type of an empty type ==COMMIT_MSG== ## Possible downsides?
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/junit5 check. To enable or disable this check, please contact the maintainers of Excavator.
## Before this PR `requests` provides a convenient Session object that allows headers to be shared across all requests made with a given session. `conjure-python` initializes all services with a...
## Before this PR Fixes https://github.com/palantir/conjure-python/issues/596 ## After this PR ==COMMIT_MSG== Add a header on all files indicating they've been generated by conjure-python ==COMMIT_MSG== ## Possible downsides?
## Before this PR Fixes https://github.com/palantir/conjure-python/issues/595 ## After this PR ==COMMIT_MSG== Path parameters are url encoded per conjure specification ==COMMIT_MSG== ## Possible downsides?
## What happened? This issue is linked to https://github.com/palantir/conjure-python/issues/595. When I discovered an issue with the palantir-python-sdk library, it was pretty much impossible to know that the bug was originating...
## What happened? This was discovered in the palantir-python-sdk library: https://github.com/palantir/palantir-python-sdk/issues/20 Python classes generated by this library have a bug when a special character is encountered in a path parameter....
## Before this PR ## After this PR ==COMMIT_MSG== Use url encoding to encode path parameters. ==COMMIT_MSG== ## Possible downsides?
## What happened? I modified the https://github.com/palantir/conjure-java-example to introduce a circular dependency between packages: ```diff --- a/recipe-example-api/src/main/conjure/recipe-example-api.yml +++ b/recipe-example-api/src/main/conjure/recipe-example-api.yml @@ -14,6 +14,7 @@ types: alias: string BakeStep: + package: com.palantir.conjure.examples.recipe.api.step...