This repository was archived by the owner on Dec 25, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Conversation
This file contains hidden or 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
…dy + headers always as unset
spacether
added a commit
that referenced
this pull request
May 31, 2023
* Fixes SerializedRequestBody['fields'] type * Updates ApiCLient fields type * Fixes fields type, moves RequestField into rest, fixes _get_headers * Fixes _get_used_path * Updates x_params to default to None * When x_params are required, none is not an allowed value * Moves required x_params earlier than optional ones * tweaks skip_deserilization * Adds new template for required variables * Updated templates * Simplifies operation overloads * Reorders required and optional parameters * Writes content_type on one line if there is only one * Adds generic types to request bodies * Adds generic types to request bodies * Fixes test_fake_api errors * Fixes inputs to RequestField * FIxes new signature for arays, adds newlines * Updates required properties to use newlines * Adds newlines to new optional properties * Uses newlines in additionalProperties new signature * Moves array with usages higher * Adds new arry ref generic types * Adds array generics in new * Input arg in new for more than one type uses newline * Adds newline to new anytype types * Adds parameterization to reuired ref properties in schema new * Adds required prop generic types when from properties * Adds required prop from additional prop generic types * Adds helper for new property type hints * Adds AnyTypeSchema parameterization * Adds new ref generic helper * Adds new optional property ref generic types * Adds kwarg generics when set * Changes new list/tuple input into sequence * Adds newlines to kwargs in new signature * Adds typing.Sequence for ListSchema inputs * Tweaks operation type hint, sets ApiResponseWithoutDeserialization body + headers always as unset * Regenerates samples
spacether
added a commit
that referenced
this pull request
Jun 8, 2023
* Fixes SerializedRequestBody['fields'] type * Updates ApiCLient fields type * Fixes fields type, moves RequestField into rest, fixes _get_headers * Fixes _get_used_path * Updates x_params to default to None * When x_params are required, none is not an allowed value * Moves required x_params earlier than optional ones * tweaks skip_deserilization * Adds new template for required variables * Updated templates * Simplifies operation overloads * Reorders required and optional parameters * Writes content_type on one line if there is only one * Adds generic types to request bodies * Adds generic types to request bodies * Fixes test_fake_api errors * Fixes inputs to RequestField * FIxes new signature for arays, adds newlines * Updates required properties to use newlines * Adds newlines to new optional properties * Uses newlines in additionalProperties new signature * Moves array with usages higher * Adds new arry ref generic types * Adds array generics in new * Input arg in new for more than one type uses newline * Adds newline to new anytype types * Adds parameterization to reuired ref properties in schema new * Adds required prop generic types when from properties * Adds required prop from additional prop generic types * Adds helper for new property type hints * Adds AnyTypeSchema parameterization * Adds new ref generic helper * Adds new optional property ref generic types * Adds kwarg generics when set * Changes new list/tuple input into sequence * Adds newlines to kwargs in new signature * Adds typing.Sequence for ListSchema inputs * Tweaks operation type hint, sets ApiResponseWithoutDeserialization body + headers always as unset * Regenerates samples
spacether
added a commit
that referenced
this pull request
Aug 16, 2023
* Fixes SerializedRequestBody['fields'] type * Updates ApiCLient fields type * Fixes fields type, moves RequestField into rest, fixes _get_headers * Fixes _get_used_path * Updates x_params to default to None * When x_params are required, none is not an allowed value * Moves required x_params earlier than optional ones * tweaks skip_deserilization * Adds new template for required variables * Updated templates * Simplifies operation overloads * Reorders required and optional parameters * Writes content_type on one line if there is only one * Adds generic types to request bodies * Adds generic types to request bodies * Fixes test_fake_api errors * Fixes inputs to RequestField * FIxes new signature for arays, adds newlines * Updates required properties to use newlines * Adds newlines to new optional properties * Uses newlines in additionalProperties new signature * Moves array with usages higher * Adds new arry ref generic types * Adds array generics in new * Input arg in new for more than one type uses newline * Adds newline to new anytype types * Adds parameterization to reuired ref properties in schema new * Adds required prop generic types when from properties * Adds required prop from additional prop generic types * Adds helper for new property type hints * Adds AnyTypeSchema parameterization * Adds new ref generic helper * Adds new optional property ref generic types * Adds kwarg generics when set * Changes new list/tuple input into sequence * Adds newlines to kwargs in new signature * Adds typing.Sequence for ListSchema inputs * Tweaks operation type hint, sets ApiResponseWithoutDeserialization body + headers always as unset * Regenerates samples
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
__new__
signaturesPR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/python*
.For Windows users, please run the script in Git BASH.