Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
9c04a81
Fixes SerializedRequestBody['fields'] type
spacether May 24, 2023
57b7b8c
Updates ApiCLient fields type
spacether May 24, 2023
cec4426
Fixes fields type, moves RequestField into rest, fixes _get_headers
spacether May 24, 2023
87196bd
Fixes _get_used_path
spacether May 24, 2023
9d4c241
Updates x_params to default to None
spacether May 24, 2023
0a33f2e
When x_params are required, none is not an allowed value
spacether May 24, 2023
e4572a0
Moves required x_params earlier than optional ones
spacether May 24, 2023
c88404e
tweaks skip_deserilization
spacether May 24, 2023
5456549
Adds new template for required variables
spacether May 25, 2023
82528a8
Updated templates
spacether May 25, 2023
2a11431
Simplifies operation overloads
spacether May 26, 2023
f3405fb
Reorders required and optional parameters
spacether May 26, 2023
cd0e960
Writes content_type on one line if there is only one
spacether May 26, 2023
7f1c873
Adds generic types to request bodies
spacether May 26, 2023
f1cc5ad
Adds generic types to request bodies
spacether May 26, 2023
80ddb7a
Fixes test_fake_api errors
spacether May 26, 2023
9e0c300
Fixes inputs to RequestField
spacether May 26, 2023
3444ece
FIxes new signature for arays, adds newlines
spacether May 26, 2023
9a74373
Updates required properties to use newlines
spacether May 26, 2023
5e45031
Adds newlines to new optional properties
spacether May 26, 2023
1c11fd3
Uses newlines in additionalProperties new signature
spacether May 26, 2023
d3239f7
Moves array with usages higher
spacether May 26, 2023
9f56d84
Adds new arry ref generic types
spacether May 26, 2023
de8d7f7
Adds array generics in new
spacether May 27, 2023
a9432d2
Input arg in new for more than one type uses newline
spacether May 27, 2023
001c18d
Adds newline to new anytype types
spacether May 27, 2023
06ff0e5
Adds parameterization to reuired ref properties in schema new
spacether May 27, 2023
75dbfee
Adds required prop generic types when from properties
spacether May 27, 2023
5f220cd
Adds required prop from additional prop generic types
spacether May 27, 2023
fd4da34
Adds helper for new property type hints
spacether May 27, 2023
3c8387a
Adds AnyTypeSchema parameterization
spacether May 27, 2023
9b45af3
Adds new ref generic helper
spacether May 28, 2023
9ab2cf9
Adds new optional property ref generic types
spacether May 28, 2023
20f544a
Adds kwarg generics when set
spacether May 28, 2023
5d57a9a
Changes new list/tuple input into sequence
spacether May 28, 2023
66e2569
Adds newlines to kwargs in new signature
spacether May 28, 2023
b0beda3
Adds typing.Sequence for ListSchema inputs
spacether May 28, 2023
fe9c437
Tweaks operation type hint, sets ApiResponseWithoutDeserialization bo…
spacether May 29, 2023
be5efae
Regenerates samples
spacether May 29, 2023
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
Prev Previous commit
Next Next commit
Moves array with usages higher
  • Loading branch information
spacether committed May 26, 2023
commit d3239f7f008ebf9c71a36ef647e8ef689ee0b922
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def __new__(
{{#with ../items}}
{{#if refInfo.refClass}}
typing.Union[
{{#if refInfo.refModule}}{{refInfo.refModule}}.{{/if}}{{refInfo.refClass}},
{{#with getDeepestRef}}
{{#if ../refInfo.refModule}}{{../refInfo.refModule}}.{{/if}}{{../refInfo.refClass}},
{{> _helper_schema_python_types_newline }}
{{/with}}
], ...
Expand All @@ -25,8 +25,8 @@ def __new__(
{{#with ../items}}
{{#if refInfo.refClass}}
typing.Union[
{{#if refInfo.refModule}}{{refInfo.refModule}}.{{/if}}{{refInfo.refClass}},
{{#with getDeepestRef}}
{{#if ../refInfo.refModule}}{{../refInfo.refModule}}.{{/if}}{{../refInfo.refClass}},
{{> _helper_schema_python_types_newline }}
{{/with}}
]
Expand Down