openapi-python-client 0.24.1__py3-none-any.whl → 0.24.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -508,10 +508,10 @@ class GeneratorData:
508
508
  title: str
509
509
  description: Optional[str]
510
510
  version: str
511
- models: Iterator[ModelProperty]
511
+ models: list[ModelProperty]
512
512
  errors: list[ParseError]
513
513
  endpoint_collections_by_tag: dict[utils.PythonIdentifier, EndpointCollection]
514
- enums: Iterator[Union[EnumProperty, LiteralEnumProperty]]
514
+ enums: list[Union[EnumProperty, LiteralEnumProperty]]
515
515
 
516
516
  @staticmethod
517
517
  def from_dict(data: dict[str, Any], *, config: Config) -> Union["GeneratorData", GeneratorError]:
@@ -546,10 +546,10 @@ class GeneratorData:
546
546
  config=config,
547
547
  )
548
548
 
549
- enums = (
549
+ enums = [
550
550
  prop for prop in schemas.classes_by_name.values() if isinstance(prop, (EnumProperty, LiteralEnumProperty))
551
- )
552
- models = (prop for prop in schemas.classes_by_name.values() if isinstance(prop, ModelProperty))
551
+ ]
552
+ models = [prop for prop in schemas.classes_by_name.values() if isinstance(prop, ModelProperty)]
553
553
 
554
554
  return GeneratorData(
555
555
  title=openapi.info.title,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openapi-python-client
3
- Version: 0.24.1
3
+ Version: 0.24.2
4
4
  Summary: Generate modern Python clients from OpenAPI
5
5
  Project-URL: repository, https://github.com/openapi-generators/openapi-python-client
6
6
  Author-email: Dylan Anthony <contact@dylananthony.com>
@@ -7,7 +7,7 @@ openapi_python_client/utils.py,sha256=axPyIeoEq3I8QSGtFPgZR3sDOpmGsguDZO3y0pnjp8
7
7
  openapi_python_client/parser/__init__.py,sha256=dpY1jYmWFPBubtjKCZIlg2uHC_DLC-KpfuMNdQF8RUc,177
8
8
  openapi_python_client/parser/bodies.py,sha256=HALIpRqSkwZCxknYGXSCmxbaH0-l19MZOra56Z2y56k,4788
9
9
  openapi_python_client/parser/errors.py,sha256=HzX7fLhGJEgTY12N9ICjS3KDBnfn-AlCTBRqXmVeoqI,1225
10
- openapi_python_client/parser/openapi.py,sha256=llI6hDCmNPlxZd-dYLikh62iKvnRCIHbRgrnjBl8-zg,23309
10
+ openapi_python_client/parser/openapi.py,sha256=CIq1YfEF9kZdKDIzYV967rk1nKNgzf9sQfO_uwvdO0Y,23301
11
11
  openapi_python_client/parser/responses.py,sha256=AqKP2dEE9CyvY7I0OMEPfHXQm0DeiZgS43MBnGPfgLI,5028
12
12
  openapi_python_client/parser/properties/__init__.py,sha256=DL6miAjN2XhEvi7DkAaZrTD4p7ej_waD8AaIySjhRBM,16376
13
13
  openapi_python_client/parser/properties/any.py,sha256=ZkBan9M4uvgRy0JHnzBFLGzLzIDsnjyaHPVVrS2Nvck,1322
@@ -103,8 +103,8 @@ openapi_python_client/templates/property_templates/model_property.py.jinja,sha25
103
103
  openapi_python_client/templates/property_templates/property_macros.py.jinja,sha256=s0DqGOc8rbEKptUtH1tAht08wahN3xXpaGfyzVa3Kog,580
104
104
  openapi_python_client/templates/property_templates/union_property.py.jinja,sha256=5Ccbj4ceGEap48NO08cVFCwUli0Rdh-xqbT1Rte4bEw,4186
105
105
  openapi_python_client/templates/property_templates/uuid_property.py.jinja,sha256=132WXSoRPqZRkactw-QPdjpaGV4Mbbbu2mRqXh2c8Nc,1265
106
- openapi_python_client-0.24.1.dist-info/METADATA,sha256=btxCBHHbNSa7XfwVbAeRq2kvuXdlyuJZZmhx6jKclT4,11113
107
- openapi_python_client-0.24.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
108
- openapi_python_client-0.24.1.dist-info/entry_points.txt,sha256=iRfSdN2foASZXr8GghkYa6KRXkDgO0EFfLut5IXoBTU,72
109
- openapi_python_client-0.24.1.dist-info/licenses/LICENSE,sha256=4dpxQYqY0DB3aTauRrqYRuu6BVNsPSJdYeUT3sH6pQY,1075
110
- openapi_python_client-0.24.1.dist-info/RECORD,,
106
+ openapi_python_client-0.24.2.dist-info/METADATA,sha256=ZfEUNh7PvCne0adDaCdfTtUnR-U25KgmW2ap1fpHKMM,11113
107
+ openapi_python_client-0.24.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
108
+ openapi_python_client-0.24.2.dist-info/entry_points.txt,sha256=iRfSdN2foASZXr8GghkYa6KRXkDgO0EFfLut5IXoBTU,72
109
+ openapi_python_client-0.24.2.dist-info/licenses/LICENSE,sha256=4dpxQYqY0DB3aTauRrqYRuu6BVNsPSJdYeUT3sH6pQY,1075
110
+ openapi_python_client-0.24.2.dist-info/RECORD,,