Adds ability to turn inline model resolver on or off and uses it in python-experimental (#12198)

* Adds getUseInlineModelResolver and uses it

* Regenerates python-exp samples

* Regenerates docs

* Samples regenerated

* Moves codegenProperty.complexType setting

* Fixes python-experimental tests

* Reverts vesion file change

* Improves type setting code for python-exp

* Fixes AnyType type hint

* Samples regenerated
This commit is contained in:
Justin Black 2022-04-25 21:44:05 -07:00 committed by GitHub
parent 20c37b5a96
commit c456de40c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
224 changed files with 685 additions and 2039 deletions

View File

@ -27,6 +27,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|packageVersion|python package version.| |1.0.0| |packageVersion|python package version.| |1.0.0|
|projectName|python project name in setup.py (e.g. petstore-api).| |null| |projectName|python project name in setup.py (e.g. petstore-api).| |null|
|recursionLimit|Set the recursion limit. If not set, use the system default value.| |null| |recursionLimit|Set the recursion limit. If not set, use the system default value.| |null|
|useInlineModelResolver|use the inline model resolver, if true inline complex models will be extracted into components and $refs to them will be used| |false|
|useNose|use the nose test framework| |false| |useNose|use the nose test framework| |false|
## IMPORT MAPPING ## IMPORT MAPPING

View File

@ -319,4 +319,6 @@ public interface CodegenConfig {
String generatorLanguageVersion(); String generatorLanguageVersion();
List<VendorExtension> getSupportedVendorExtensions(); List<VendorExtension> getSupportedVendorExtensions();
boolean getUseInlineModelResolver();
} }

View File

@ -4713,12 +4713,12 @@ public class DefaultCodegen implements CodegenConfig {
String parameterDataType = this.getParameterDataType(parameter, parameterSchema); String parameterDataType = this.getParameterDataType(parameter, parameterSchema);
if (parameterDataType != null) { if (parameterDataType != null) {
codegenParameter.dataType = parameterDataType; codegenParameter.dataType = parameterDataType;
if (ModelUtils.isObjectSchema(parameterSchema)) {
codegenProperty.complexType = codegenParameter.dataType;
}
} else { } else {
codegenParameter.dataType = codegenProperty.dataType; codegenParameter.dataType = codegenProperty.dataType;
} }
if (ModelUtils.isObjectSchema(parameterSchema)) {
codegenProperty.complexType = codegenParameter.dataType;
}
if (ModelUtils.isSet(parameterSchema)) { if (ModelUtils.isSet(parameterSchema)) {
imports.add(codegenProperty.baseType); imports.add(codegenProperty.baseType);
} }
@ -7429,4 +7429,7 @@ public class DefaultCodegen implements CodegenConfig {
public List<VendorExtension> getSupportedVendorExtensions() { public List<VendorExtension> getSupportedVendorExtensions() {
return new ArrayList<>(); return new ArrayList<>();
} }
@Override
public boolean getUseInlineModelResolver() { return true; }
} }

View File

@ -872,8 +872,10 @@ public class DefaultGenerator implements Generator {
} }
// resolve inline models // resolve inline models
InlineModelResolver inlineModelResolver = new InlineModelResolver(); if (config.getUseInlineModelResolver()) {
inlineModelResolver.flatten(openAPI); InlineModelResolver inlineModelResolver = new InlineModelResolver();
inlineModelResolver.flatten(openAPI);
}
configureGeneratorProperties(); configureGeneratorProperties();
configureOpenAPIInfo(); configureOpenAPIInfo();

View File

@ -70,11 +70,13 @@ public class PythonExperimentalClientCodegen extends AbstractPythonCodegen {
// nose is a python testing framework, we use pytest if USE_NOSE is unset // nose is a python testing framework, we use pytest if USE_NOSE is unset
public static final String USE_NOSE = "useNose"; public static final String USE_NOSE = "useNose";
public static final String RECURSION_LIMIT = "recursionLimit"; public static final String RECURSION_LIMIT = "recursionLimit";
public static final String USE_INLINE_MODEL_RESOLVER = "useInlineModelResolver";
protected String packageUrl; protected String packageUrl;
protected String apiDocPath = "docs/"; protected String apiDocPath = "docs/";
protected String modelDocPath = "docs/"; protected String modelDocPath = "docs/";
protected boolean useNose = Boolean.FALSE; protected boolean useNose = false;
protected boolean useInlineModelResolver = false;
protected Map<Character, String> regexModifiers; protected Map<Character, String> regexModifiers;
@ -192,6 +194,8 @@ public class PythonExperimentalClientCodegen extends AbstractPythonCodegen {
cliOptions.add(CliOption.newBoolean(USE_NOSE, "use the nose test framework"). cliOptions.add(CliOption.newBoolean(USE_NOSE, "use the nose test framework").
defaultValue(Boolean.FALSE.toString())); defaultValue(Boolean.FALSE.toString()));
cliOptions.add(new CliOption(RECURSION_LIMIT, "Set the recursion limit. If not set, use the system default value.")); cliOptions.add(new CliOption(RECURSION_LIMIT, "Set the recursion limit. If not set, use the system default value."));
cliOptions.add(CliOption.newBoolean(USE_INLINE_MODEL_RESOLVER, "use the inline model resolver, if true inline complex models will be extracted into components and $refs to them will be used").
defaultValue(Boolean.FALSE.toString()));
supportedLibraries.put("urllib3", "urllib3-based client"); supportedLibraries.put("urllib3", "urllib3-based client");
CliOption libraryOption = new CliOption(CodegenConstants.LIBRARY, "library template (sub-template) to use: urllib3"); CliOption libraryOption = new CliOption(CodegenConstants.LIBRARY, "library template (sub-template) to use: urllib3");
@ -260,7 +264,7 @@ public class PythonExperimentalClientCodegen extends AbstractPythonCodegen {
} }
modelTemplateFiles.put("model." + templateExtension, ".py"); modelTemplateFiles.put("model." + templateExtension, ".py");
apiTemplateFiles.put("api." + templateExtension, ".py"); apiTemplateFiles.put("api." + templateExtension, ".py");
modelTestTemplateFiles.put("model_test." + templateExtension, ".py"); modelTestTemplateFiles.put("model_test." + templateExtension, ".py");
apiTestTemplateFiles.put("api_test." + templateExtension, ".py"); apiTestTemplateFiles.put("api_test." + templateExtension, ".py");
modelDocTemplateFiles.put("model_doc." + templateExtension, ".md"); modelDocTemplateFiles.put("model_doc." + templateExtension, ".md");
@ -321,6 +325,10 @@ public class PythonExperimentalClientCodegen extends AbstractPythonCodegen {
setUseNose((String) additionalProperties.get(USE_NOSE)); setUseNose((String) additionalProperties.get(USE_NOSE));
} }
if (additionalProperties.containsKey(USE_INLINE_MODEL_RESOLVER)) {
setUseInlineModelResolver((String) additionalProperties.get(USE_INLINE_MODEL_RESOLVER));
}
// check to see if setRecursionLimit is set and whether it's an integer // check to see if setRecursionLimit is set and whether it's an integer
if (additionalProperties.containsKey(RECURSION_LIMIT)) { if (additionalProperties.containsKey(RECURSION_LIMIT)) {
try { try {
@ -1254,20 +1262,31 @@ public class PythonExperimentalClientCodegen extends AbstractPythonCodegen {
return prefix + modelName + fullSuffix; return prefix + modelName + fullSuffix;
} }
} }
if (isAnyTypeSchema(p)) { if (ModelUtils.isAnyType(p)) {
return prefix + "bool, date, datetime, dict, float, int, list, str, none_type" + suffix; return prefix + "bool, date, datetime, dict, float, int, list, str, none_type" + suffix;
} }
// Resolve $ref because ModelUtils.isXYZ methods do not automatically resolve references. // Resolve $ref because ModelUtils.isXYZ methods do not automatically resolve references.
if (ModelUtils.isNullable(ModelUtils.getReferencedSchema(this.openAPI, p))) { if (ModelUtils.isNullable(ModelUtils.getReferencedSchema(this.openAPI, p))) {
fullSuffix = ", none_type" + suffix; fullSuffix = ", none_type" + suffix;
} }
if (isFreeFormObject(p) && getAdditionalProperties(p) == null) { if (ModelUtils.isNumberSchema(p)) {
return prefix + "bool, date, datetime, dict, float, int, list, str" + fullSuffix;
} else if (ModelUtils.isNumberSchema(p)) {
return prefix + "int, float" + fullSuffix; return prefix + "int, float" + fullSuffix;
} else if ((ModelUtils.isMapSchema(p) || "object".equals(p.getType())) && getAdditionalProperties(p) != null) { } else if (ModelUtils.isTypeObjectSchema(p)) {
Schema inner = getAdditionalProperties(p); if (p.getAdditionalProperties() != null && p.getAdditionalProperties().equals(false)) {
return prefix + "{str: " + getTypeString(inner, "(", ")", referencedModelNames) + "}" + fullSuffix; if (p.getProperties() == null) {
// type object with no properties and additionalProperties = false, empty dict only
return prefix + "{str: typing.Any}" + fullSuffix;
} else {
// properties only
// TODO add type hints for those properties only as values
return prefix + "{str: typing.Any}" + fullSuffix;
}
} else {
// additionalProperties exists
Schema inner = getAdditionalProperties(p);
return prefix + "{str: " + getTypeString(inner, "(", ")", referencedModelNames) + "}" + fullSuffix;
// TODO add code here to add property values too if they exist
}
} else if (ModelUtils.isArraySchema(p)) { } else if (ModelUtils.isArraySchema(p)) {
ArraySchema ap = (ArraySchema) p; ArraySchema ap = (ArraySchema) p;
Schema inner = ap.getItems(); Schema inner = ap.getItems();
@ -1284,8 +1303,7 @@ public class PythonExperimentalClientCodegen extends AbstractPythonCodegen {
} else { } else {
return prefix + getTypeString(inner, "[", "]", referencedModelNames) + fullSuffix; return prefix + getTypeString(inner, "[", "]", referencedModelNames) + fullSuffix;
} }
} } else if (ModelUtils.isFileSchema(p)) {
if (ModelUtils.isFileSchema(p)) {
return prefix + "file_type" + fullSuffix; return prefix + "file_type" + fullSuffix;
} }
String baseType = getSchemaType(p); String baseType = getSchemaType(p);
@ -1302,7 +1320,7 @@ public class PythonExperimentalClientCodegen extends AbstractPythonCodegen {
public String getTypeDeclaration(Schema p) { public String getTypeDeclaration(Schema p) {
// this is used to set dataType, which defines a python tuple of classes // this is used to set dataType, which defines a python tuple of classes
// in Python we will wrap this in () to make it a tuple but here we // in Python we will wrap this in () to make it a tuple but here we
// will omit the parens so the generated documentaion will not include // will omit the parens so the generated documentation will not include
// them // them
return getTypeString(p, "", "", null); return getTypeString(p, "", "", null);
} }
@ -2237,6 +2255,13 @@ public class PythonExperimentalClientCodegen extends AbstractPythonCodegen {
this.useNose = Boolean.parseBoolean(val); this.useNose = Boolean.parseBoolean(val);
} }
@Override
public boolean getUseInlineModelResolver() { return useInlineModelResolver; }
public void setUseInlineModelResolver(String val) {
this.useInlineModelResolver = Boolean.parseBoolean(val);
}
public void setPackageUrl(String packageUrl) { public void setPackageUrl(String packageUrl) {
this.packageUrl = packageUrl; this.packageUrl = packageUrl;
} }

View File

@ -7,6 +7,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
{{#with operation}} {{#with operation}}
{{#or headerParams bodyParam produces}} {{#or headerParams bodyParam produces}}
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict

View File

@ -5,6 +5,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -1,5 +1,6 @@
@classmethod @classmethod
@property @property
@functools.cache
def _composed_schemas(cls): def _composed_schemas(cls):
# we need this here to make our import statements work # we need this here to make our import statements work
# we must store _composed_schemas in here so the code is only run # we must store _composed_schemas in here so the code is only run

View File

@ -26,14 +26,11 @@ docs/Boolean.md
docs/BooleanEnum.md docs/BooleanEnum.md
docs/Capitalization.md docs/Capitalization.md
docs/Cat.md docs/Cat.md
docs/CatAllOf.md
docs/Category.md docs/Category.md
docs/ChildCat.md docs/ChildCat.md
docs/ChildCatAllOf.md
docs/ClassModel.md docs/ClassModel.md
docs/Client.md docs/Client.md
docs/ComplexQuadrilateral.md docs/ComplexQuadrilateral.md
docs/ComplexQuadrilateralAllOf.md
docs/ComposedAnyOfDifferentTypesNoValidations.md docs/ComposedAnyOfDifferentTypesNoValidations.md
docs/ComposedArray.md docs/ComposedArray.md
docs/ComposedBool.md docs/ComposedBool.md
@ -42,7 +39,6 @@ docs/ComposedNumber.md
docs/ComposedObject.md docs/ComposedObject.md
docs/ComposedOneOfDifferentTypes.md docs/ComposedOneOfDifferentTypes.md
docs/ComposedString.md docs/ComposedString.md
docs/CompositionInProperty.md
docs/Currency.md docs/Currency.md
docs/DanishPig.md docs/DanishPig.md
docs/DateTimeTest.md docs/DateTimeTest.md
@ -51,13 +47,11 @@ docs/DateWithValidations.md
docs/DecimalPayload.md docs/DecimalPayload.md
docs/DefaultApi.md docs/DefaultApi.md
docs/Dog.md docs/Dog.md
docs/DogAllOf.md
docs/Drawing.md docs/Drawing.md
docs/EnumArrays.md docs/EnumArrays.md
docs/EnumClass.md docs/EnumClass.md
docs/EnumTest.md docs/EnumTest.md
docs/EquilateralTriangle.md docs/EquilateralTriangle.md
docs/EquilateralTriangleAllOf.md
docs/FakeApi.md docs/FakeApi.md
docs/FakeClassnameTags123Api.md docs/FakeClassnameTags123Api.md
docs/File.md docs/File.md
@ -70,7 +64,6 @@ docs/GmFruit.md
docs/GrandparentAnimal.md docs/GrandparentAnimal.md
docs/HasOnlyReadOnly.md docs/HasOnlyReadOnly.md
docs/HealthCheckResult.md docs/HealthCheckResult.md
docs/InlineResponseDefault.md
docs/IntegerEnum.md docs/IntegerEnum.md
docs/IntegerEnumBig.md docs/IntegerEnumBig.md
docs/IntegerEnumOneValue.md docs/IntegerEnumOneValue.md
@ -78,9 +71,7 @@ docs/IntegerEnumWithDefaultValue.md
docs/IntegerMax10.md docs/IntegerMax10.md
docs/IntegerMin15.md docs/IntegerMin15.md
docs/IsoscelesTriangle.md docs/IsoscelesTriangle.md
docs/IsoscelesTriangleAllOf.md
docs/Mammal.md docs/Mammal.md
docs/MapBean.md
docs/MapTest.md docs/MapTest.md
docs/MixedPropertiesAndAdditionalPropertiesClass.md docs/MixedPropertiesAndAdditionalPropertiesClass.md
docs/Model200Response.md docs/Model200Response.md
@ -110,11 +101,9 @@ docs/Quadrilateral.md
docs/QuadrilateralInterface.md docs/QuadrilateralInterface.md
docs/ReadOnlyFirst.md docs/ReadOnlyFirst.md
docs/ScaleneTriangle.md docs/ScaleneTriangle.md
docs/ScaleneTriangleAllOf.md
docs/Shape.md docs/Shape.md
docs/ShapeOrNull.md docs/ShapeOrNull.md
docs/SimpleQuadrilateral.md docs/SimpleQuadrilateral.md
docs/SimpleQuadrilateralAllOf.md
docs/SomeObject.md docs/SomeObject.md
docs/SpecialModelName.md docs/SpecialModelName.md
docs/StoreApi.md docs/StoreApi.md
@ -169,14 +158,11 @@ petstore_api/model/boolean.py
petstore_api/model/boolean_enum.py petstore_api/model/boolean_enum.py
petstore_api/model/capitalization.py petstore_api/model/capitalization.py
petstore_api/model/cat.py petstore_api/model/cat.py
petstore_api/model/cat_all_of.py
petstore_api/model/category.py petstore_api/model/category.py
petstore_api/model/child_cat.py petstore_api/model/child_cat.py
petstore_api/model/child_cat_all_of.py
petstore_api/model/class_model.py petstore_api/model/class_model.py
petstore_api/model/client.py petstore_api/model/client.py
petstore_api/model/complex_quadrilateral.py petstore_api/model/complex_quadrilateral.py
petstore_api/model/complex_quadrilateral_all_of.py
petstore_api/model/composed_any_of_different_types_no_validations.py petstore_api/model/composed_any_of_different_types_no_validations.py
petstore_api/model/composed_array.py petstore_api/model/composed_array.py
petstore_api/model/composed_bool.py petstore_api/model/composed_bool.py
@ -185,7 +171,6 @@ petstore_api/model/composed_number.py
petstore_api/model/composed_object.py petstore_api/model/composed_object.py
petstore_api/model/composed_one_of_different_types.py petstore_api/model/composed_one_of_different_types.py
petstore_api/model/composed_string.py petstore_api/model/composed_string.py
petstore_api/model/composition_in_property.py
petstore_api/model/currency.py petstore_api/model/currency.py
petstore_api/model/danish_pig.py petstore_api/model/danish_pig.py
petstore_api/model/date_time_test.py petstore_api/model/date_time_test.py
@ -193,13 +178,11 @@ petstore_api/model/date_time_with_validations.py
petstore_api/model/date_with_validations.py petstore_api/model/date_with_validations.py
petstore_api/model/decimal_payload.py petstore_api/model/decimal_payload.py
petstore_api/model/dog.py petstore_api/model/dog.py
petstore_api/model/dog_all_of.py
petstore_api/model/drawing.py petstore_api/model/drawing.py
petstore_api/model/enum_arrays.py petstore_api/model/enum_arrays.py
petstore_api/model/enum_class.py petstore_api/model/enum_class.py
petstore_api/model/enum_test.py petstore_api/model/enum_test.py
petstore_api/model/equilateral_triangle.py petstore_api/model/equilateral_triangle.py
petstore_api/model/equilateral_triangle_all_of.py
petstore_api/model/file.py petstore_api/model/file.py
petstore_api/model/file_schema_test_class.py petstore_api/model/file_schema_test_class.py
petstore_api/model/foo.py petstore_api/model/foo.py
@ -210,7 +193,6 @@ petstore_api/model/gm_fruit.py
petstore_api/model/grandparent_animal.py petstore_api/model/grandparent_animal.py
petstore_api/model/has_only_read_only.py petstore_api/model/has_only_read_only.py
petstore_api/model/health_check_result.py petstore_api/model/health_check_result.py
petstore_api/model/inline_response_default.py
petstore_api/model/integer_enum.py petstore_api/model/integer_enum.py
petstore_api/model/integer_enum_big.py petstore_api/model/integer_enum_big.py
petstore_api/model/integer_enum_one_value.py petstore_api/model/integer_enum_one_value.py
@ -218,9 +200,7 @@ petstore_api/model/integer_enum_with_default_value.py
petstore_api/model/integer_max10.py petstore_api/model/integer_max10.py
petstore_api/model/integer_min15.py petstore_api/model/integer_min15.py
petstore_api/model/isosceles_triangle.py petstore_api/model/isosceles_triangle.py
petstore_api/model/isosceles_triangle_all_of.py
petstore_api/model/mammal.py petstore_api/model/mammal.py
petstore_api/model/map_bean.py
petstore_api/model/map_test.py petstore_api/model/map_test.py
petstore_api/model/mixed_properties_and_additional_properties_class.py petstore_api/model/mixed_properties_and_additional_properties_class.py
petstore_api/model/model200_response.py petstore_api/model/model200_response.py
@ -249,11 +229,9 @@ petstore_api/model/quadrilateral.py
petstore_api/model/quadrilateral_interface.py petstore_api/model/quadrilateral_interface.py
petstore_api/model/read_only_first.py petstore_api/model/read_only_first.py
petstore_api/model/scalene_triangle.py petstore_api/model/scalene_triangle.py
petstore_api/model/scalene_triangle_all_of.py
petstore_api/model/shape.py petstore_api/model/shape.py
petstore_api/model/shape_or_null.py petstore_api/model/shape_or_null.py
petstore_api/model/simple_quadrilateral.py petstore_api/model/simple_quadrilateral.py
petstore_api/model/simple_quadrilateral_all_of.py
petstore_api/model/some_object.py petstore_api/model/some_object.py
petstore_api/model/special_model_name.py petstore_api/model/special_model_name.py
petstore_api/model/string.py petstore_api/model/string.py

View File

@ -162,14 +162,11 @@ Class | Method | HTTP request | Description
- [BooleanEnum](docs/BooleanEnum.md) - [BooleanEnum](docs/BooleanEnum.md)
- [Capitalization](docs/Capitalization.md) - [Capitalization](docs/Capitalization.md)
- [Cat](docs/Cat.md) - [Cat](docs/Cat.md)
- [CatAllOf](docs/CatAllOf.md)
- [Category](docs/Category.md) - [Category](docs/Category.md)
- [ChildCat](docs/ChildCat.md) - [ChildCat](docs/ChildCat.md)
- [ChildCatAllOf](docs/ChildCatAllOf.md)
- [ClassModel](docs/ClassModel.md) - [ClassModel](docs/ClassModel.md)
- [Client](docs/Client.md) - [Client](docs/Client.md)
- [ComplexQuadrilateral](docs/ComplexQuadrilateral.md) - [ComplexQuadrilateral](docs/ComplexQuadrilateral.md)
- [ComplexQuadrilateralAllOf](docs/ComplexQuadrilateralAllOf.md)
- [ComposedAnyOfDifferentTypesNoValidations](docs/ComposedAnyOfDifferentTypesNoValidations.md) - [ComposedAnyOfDifferentTypesNoValidations](docs/ComposedAnyOfDifferentTypesNoValidations.md)
- [ComposedArray](docs/ComposedArray.md) - [ComposedArray](docs/ComposedArray.md)
- [ComposedBool](docs/ComposedBool.md) - [ComposedBool](docs/ComposedBool.md)
@ -178,7 +175,6 @@ Class | Method | HTTP request | Description
- [ComposedObject](docs/ComposedObject.md) - [ComposedObject](docs/ComposedObject.md)
- [ComposedOneOfDifferentTypes](docs/ComposedOneOfDifferentTypes.md) - [ComposedOneOfDifferentTypes](docs/ComposedOneOfDifferentTypes.md)
- [ComposedString](docs/ComposedString.md) - [ComposedString](docs/ComposedString.md)
- [CompositionInProperty](docs/CompositionInProperty.md)
- [Currency](docs/Currency.md) - [Currency](docs/Currency.md)
- [DanishPig](docs/DanishPig.md) - [DanishPig](docs/DanishPig.md)
- [DateTimeTest](docs/DateTimeTest.md) - [DateTimeTest](docs/DateTimeTest.md)
@ -186,13 +182,11 @@ Class | Method | HTTP request | Description
- [DateWithValidations](docs/DateWithValidations.md) - [DateWithValidations](docs/DateWithValidations.md)
- [DecimalPayload](docs/DecimalPayload.md) - [DecimalPayload](docs/DecimalPayload.md)
- [Dog](docs/Dog.md) - [Dog](docs/Dog.md)
- [DogAllOf](docs/DogAllOf.md)
- [Drawing](docs/Drawing.md) - [Drawing](docs/Drawing.md)
- [EnumArrays](docs/EnumArrays.md) - [EnumArrays](docs/EnumArrays.md)
- [EnumClass](docs/EnumClass.md) - [EnumClass](docs/EnumClass.md)
- [EnumTest](docs/EnumTest.md) - [EnumTest](docs/EnumTest.md)
- [EquilateralTriangle](docs/EquilateralTriangle.md) - [EquilateralTriangle](docs/EquilateralTriangle.md)
- [EquilateralTriangleAllOf](docs/EquilateralTriangleAllOf.md)
- [File](docs/File.md) - [File](docs/File.md)
- [FileSchemaTestClass](docs/FileSchemaTestClass.md) - [FileSchemaTestClass](docs/FileSchemaTestClass.md)
- [Foo](docs/Foo.md) - [Foo](docs/Foo.md)
@ -203,7 +197,6 @@ Class | Method | HTTP request | Description
- [GrandparentAnimal](docs/GrandparentAnimal.md) - [GrandparentAnimal](docs/GrandparentAnimal.md)
- [HasOnlyReadOnly](docs/HasOnlyReadOnly.md) - [HasOnlyReadOnly](docs/HasOnlyReadOnly.md)
- [HealthCheckResult](docs/HealthCheckResult.md) - [HealthCheckResult](docs/HealthCheckResult.md)
- [InlineResponseDefault](docs/InlineResponseDefault.md)
- [IntegerEnum](docs/IntegerEnum.md) - [IntegerEnum](docs/IntegerEnum.md)
- [IntegerEnumBig](docs/IntegerEnumBig.md) - [IntegerEnumBig](docs/IntegerEnumBig.md)
- [IntegerEnumOneValue](docs/IntegerEnumOneValue.md) - [IntegerEnumOneValue](docs/IntegerEnumOneValue.md)
@ -211,9 +204,7 @@ Class | Method | HTTP request | Description
- [IntegerMax10](docs/IntegerMax10.md) - [IntegerMax10](docs/IntegerMax10.md)
- [IntegerMin15](docs/IntegerMin15.md) - [IntegerMin15](docs/IntegerMin15.md)
- [IsoscelesTriangle](docs/IsoscelesTriangle.md) - [IsoscelesTriangle](docs/IsoscelesTriangle.md)
- [IsoscelesTriangleAllOf](docs/IsoscelesTriangleAllOf.md)
- [Mammal](docs/Mammal.md) - [Mammal](docs/Mammal.md)
- [MapBean](docs/MapBean.md)
- [MapTest](docs/MapTest.md) - [MapTest](docs/MapTest.md)
- [MixedPropertiesAndAdditionalPropertiesClass](docs/MixedPropertiesAndAdditionalPropertiesClass.md) - [MixedPropertiesAndAdditionalPropertiesClass](docs/MixedPropertiesAndAdditionalPropertiesClass.md)
- [Model200Response](docs/Model200Response.md) - [Model200Response](docs/Model200Response.md)
@ -242,11 +233,9 @@ Class | Method | HTTP request | Description
- [QuadrilateralInterface](docs/QuadrilateralInterface.md) - [QuadrilateralInterface](docs/QuadrilateralInterface.md)
- [ReadOnlyFirst](docs/ReadOnlyFirst.md) - [ReadOnlyFirst](docs/ReadOnlyFirst.md)
- [ScaleneTriangle](docs/ScaleneTriangle.md) - [ScaleneTriangle](docs/ScaleneTriangle.md)
- [ScaleneTriangleAllOf](docs/ScaleneTriangleAllOf.md)
- [Shape](docs/Shape.md) - [Shape](docs/Shape.md)
- [ShapeOrNull](docs/ShapeOrNull.md) - [ShapeOrNull](docs/ShapeOrNull.md)
- [SimpleQuadrilateral](docs/SimpleQuadrilateral.md) - [SimpleQuadrilateral](docs/SimpleQuadrilateral.md)
- [SimpleQuadrilateralAllOf](docs/SimpleQuadrilateralAllOf.md)
- [SomeObject](docs/SomeObject.md) - [SomeObject](docs/SomeObject.md)
- [SpecialModelName](docs/SpecialModelName.md) - [SpecialModelName](docs/SpecialModelName.md)
- [String](docs/String.md) - [String](docs/String.md)

View File

@ -9,7 +9,7 @@ Name | Type | Description | Notes
**map_with_undeclared_properties_anytype_1** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] **map_with_undeclared_properties_anytype_1** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
**map_with_undeclared_properties_anytype_2** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] **map_with_undeclared_properties_anytype_2** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
**map_with_undeclared_properties_anytype_3** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] **map_with_undeclared_properties_anytype_3** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
**empty_map** | **bool, date, datetime, dict, float, int, list, str** | an object with no declared properties and no undeclared properties, hence it&#x27;s an empty map. | [optional] **empty_map** | **{str: typing.Any}** | an object with no declared properties and no undeclared properties, hence it&#x27;s an empty map. | [optional]
**map_with_undeclared_properties_string** | **{str: (str,)}** | | [optional] **map_with_undeclared_properties_string** | **{str: (str,)}** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

View File

@ -1,10 +0,0 @@
# CatAllOf
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**declawed** | **bool** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,10 +0,0 @@
# ChildCatAllOf
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,10 +0,0 @@
# ComplexQuadrilateralAllOf
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**quadrilateralType** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,10 +0,0 @@
# CompositionInProperty
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**someProp** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -7,7 +7,7 @@ Method | HTTP request | Description
[**foo_get**](DefaultApi.md#foo_get) | **GET** /foo | [**foo_get**](DefaultApi.md#foo_get) | **GET** /foo |
# **foo_get** # **foo_get**
> InlineResponseDefault foo_get() > {str: (bool, date, datetime, dict, float, int, list, str, none_type)} foo_get()
@ -16,7 +16,7 @@ Method | HTTP request | Description
```python ```python
import petstore_api import petstore_api
from petstore_api.api import default_api from petstore_api.api import default_api
from petstore_api.model.inline_response_default import InlineResponseDefault from petstore_api.model.foo import Foo
from pprint import pprint from pprint import pprint
# Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2
# See configuration.py for a list of all supported configuration parameters. # See configuration.py for a list of all supported configuration parameters.
@ -54,13 +54,15 @@ body | typing.Union[SchemaFor0ResponseBodyApplicationJson, ] | |
headers | Unset | headers were not defined | headers | Unset | headers were not defined |
#### SchemaFor0ResponseBodyApplicationJson #### SchemaFor0ResponseBodyApplicationJson
Type | Description | Notes
------------- | ------------- | ------------- #### Properties
[**InlineResponseDefault**](InlineResponseDefault.md) | | Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**string** | [**Foo**](Foo.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}**
[**InlineResponseDefault**](InlineResponseDefault.md)
### Authorization ### Authorization

View File

@ -1,10 +0,0 @@
# DogAllOf
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**breed** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,10 +0,0 @@
# EquilateralTriangleAllOf
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**triangleType** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1413,7 +1413,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **inline_composition** # **inline_composition**
> object inline_composition() > bool, date, datetime, dict, float, int, list, str, none_type inline_composition()
testing composed schemas at inline locations testing composed schemas at inline locations
@ -1422,7 +1422,6 @@ testing composed schemas at inline locations
```python ```python
import petstore_api import petstore_api
from petstore_api.api import fake_api from petstore_api.api import fake_api
from petstore_api.model.composition_in_property import CompositionInProperty
from pprint import pprint from pprint import pprint
# Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2
# See configuration.py for a list of all supported configuration parameters. # See configuration.py for a list of all supported configuration parameters.
@ -1439,7 +1438,7 @@ with petstore_api.ApiClient(configuration) as api_client:
query_params = { query_params = {
'compositionAtRoot': None, 'compositionAtRoot': None,
'compositionInProperty': dict( 'compositionInProperty': dict(
some_prop="some_prop_example", some_prop=None,
), ),
} }
body = None body = None
@ -1479,7 +1478,7 @@ Name | Type | Description | Notes
#### Properties #### Properties
Name | Type | Description | Notes Name | Type | Description | Notes
------------ | ------------- | ------------- | ------------- ------------ | ------------- | ------------- | -------------
**someProp** | **object** | | [optional] **someProp** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
### query_params ### query_params
@ -1499,10 +1498,12 @@ Name | Type | Description | Notes
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
#### CompositionInPropertySchema #### CompositionInPropertySchema
Type | Description | Notes
------------- | ------------- | -------------
[**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}**](CompositionInProperty.md) | |
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**someProp** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
### Return Types, Responses ### Return Types, Responses
@ -1530,11 +1531,11 @@ Name | Type | Description | Notes
#### Properties #### Properties
Name | Type | Description | Notes Name | Type | Description | Notes
------------ | ------------- | ------------- | ------------- ------------ | ------------- | ------------- | -------------
**someProp** | **object** | | [optional] **someProp** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
**object** **bool, date, datetime, dict, float, int, list, str, none_type**
### Authorization ### Authorization
@ -1882,7 +1883,6 @@ user list
```python ```python
import petstore_api import petstore_api
from petstore_api.api import fake_api from petstore_api.api import fake_api
from petstore_api.model.map_bean import MapBean
from pprint import pprint from pprint import pprint
# Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2
# See configuration.py for a list of all supported configuration parameters. # See configuration.py for a list of all supported configuration parameters.
@ -1927,10 +1927,12 @@ mapBean | MapBeanSchema | | optional
#### MapBeanSchema #### MapBeanSchema
Type | Description | Notes
------------- | ------------- | -------------
[**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}**](MapBean.md) | |
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**keyword** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
### Return Types, Responses ### Return Types, Responses

View File

@ -1,10 +0,0 @@
# InlineResponseDefault
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**string** | [**Foo**](Foo.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,10 +0,0 @@
# IsoscelesTriangleAllOf
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**triangleType** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,10 +0,0 @@
# MapBean
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**keyword** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,13 +0,0 @@
# Model_200Response
model with an invalid class name for python, starts with a number
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **int** | | [optional]
**class** | **str** | this is a reserved python keyword | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,12 +0,0 @@
# Model_Return
Model for testing reserved words
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**return** | **int** | this is a reserved python keyword | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -3,7 +3,7 @@
#### Properties #### Properties
Name | Type | Description | Notes Name | Type | Description | Notes
------------ | ------------- | ------------- | ------------- ------------ | ------------- | ------------- | -------------
**someProp** | **str** | | [optional] **someProp** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,9 +0,0 @@
# ObjectWithInlineCompositionPropertySomeProp
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,10 +0,0 @@
# ScaleneTriangleAllOf
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**triangleType** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,10 +0,0 @@
# SimpleQuadrilateralAllOf
#### Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**quadrilateralType** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -14,7 +14,7 @@ Name | Type | Description | Notes
**objectWithNoDeclaredProps** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | test code generation for objects Value must be a map of strings to values. It cannot be the &#x27;null&#x27; value. | [optional] **objectWithNoDeclaredProps** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | test code generation for objects Value must be a map of strings to values. It cannot be the &#x27;null&#x27; value. | [optional]
**objectWithNoDeclaredPropsNullable** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | test code generation for nullable objects. Value must be a map of strings to values or the &#x27;null&#x27; value. | [optional] **objectWithNoDeclaredPropsNullable** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | test code generation for nullable objects. Value must be a map of strings to values or the &#x27;null&#x27; value. | [optional]
**anyTypeProp** | **bool, date, datetime, dict, float, int, list, str, none_type** | test code generation for any type Here the &#x27;type&#x27; attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 | [optional] **anyTypeProp** | **bool, date, datetime, dict, float, int, list, str, none_type** | test code generation for any type Here the &#x27;type&#x27; attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 | [optional]
**anyTypeExceptNullProp** | **object** | any type except &#x27;null&#x27; Here the &#x27;type&#x27; attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. | [optional] **anyTypeExceptNullProp** | **bool, date, datetime, dict, float, int, list, str, none_type** | any type except &#x27;null&#x27; Here the &#x27;type&#x27; attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. | [optional]
**anyTypePropNullable** | **bool, date, datetime, dict, float, int, list, str, none_type** | test code generation for any type Here the &#x27;type&#x27; attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The &#x27;nullable&#x27; attribute does not change the allowed values. | [optional] **anyTypePropNullable** | **bool, date, datetime, dict, float, int, list, str, none_type** | test code generation for any type Here the &#x27;type&#x27; attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The &#x27;nullable&#x27; attribute does not change the allowed values. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions
@ -63,11 +64,36 @@ from petstore_api.schemas import ( # noqa: F401
_SchemaEnumMaker _SchemaEnumMaker
) )
from petstore_api.model.inline_response_default import InlineResponseDefault from petstore_api.model.foo import Foo
_path = '/foo' _path = '/foo'
_method = 'GET' _method = 'GET'
SchemaFor0ResponseBodyApplicationJson = InlineResponseDefault
class SchemaFor0ResponseBodyApplicationJson(
DictSchema
):
@classmethod
@property
def string(cls) -> typing.Type['Foo']:
return Foo
def __new__(
cls,
*args: typing.Union[dict, frozendict, ],
string: typing.Union['Foo', Unset] = unset,
_configuration: typing.Optional[Configuration] = None,
**kwargs: typing.Type[Schema],
) -> 'SchemaFor0ResponseBodyApplicationJson':
return super().__new__(
cls,
*args,
string=string,
_configuration=_configuration,
**kwargs,
)
@dataclass @dataclass

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions
import decimal # noqa: F401 import decimal # noqa: F401

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions
@ -63,8 +64,6 @@ from petstore_api.schemas import ( # noqa: F401
_SchemaEnumMaker _SchemaEnumMaker
) )
from petstore_api.model.composition_in_property import CompositionInProperty
# query params # query params
@ -74,6 +73,7 @@ class CompositionAtRootSchema(
@classmethod @classmethod
@property @property
@functools.cache
def _composed_schemas(cls): def _composed_schemas(cls):
# we need this here to make our import statements work # we need this here to make our import statements work
# we must store _composed_schemas in here so the code is only run # we must store _composed_schemas in here so the code is only run
@ -123,12 +123,53 @@ class CompositionInPropertySchema(
class someProp( class someProp(
_SchemaValidator( ComposedSchema
min_length=1,
),
StrSchema
): ):
pass
@classmethod
@property
@functools.cache
def _composed_schemas(cls):
# we need this here to make our import statements work
# we must store _composed_schemas in here so the code is only run
# when we invoke this method. If we kept this at the class
# level we would get an error because the class level
# code would be run when this module is imported, and these composed
# classes don't exist yet because their module has not finished
# loading
class allOf_0(
_SchemaValidator(
min_length=1,
),
StrSchema
):
pass
return {
'allOf': [
allOf_0,
],
'oneOf': [
],
'anyOf': [
],
'not':
None
}
def __new__(
cls,
*args: typing.Union[dict, frozendict, str, date, datetime, int, float, decimal.Decimal, None, list, tuple, bytes],
_configuration: typing.Optional[Configuration] = None,
**kwargs: typing.Type[Schema],
) -> 'someProp':
return super().__new__(
cls,
*args,
_configuration=_configuration,
**kwargs,
)
def __new__( def __new__(
@ -185,6 +226,7 @@ class SchemaForRequestBodyApplicationJson(
@classmethod @classmethod
@property @property
@functools.cache
def _composed_schemas(cls): def _composed_schemas(cls):
# we need this here to make our import statements work # we need this here to make our import statements work
# we must store _composed_schemas in here so the code is only run # we must store _composed_schemas in here so the code is only run
@ -239,6 +281,7 @@ class SchemaForRequestBodyMultipartFormData(
@classmethod @classmethod
@property @property
@functools.cache
def _composed_schemas(cls): def _composed_schemas(cls):
# we need this here to make our import statements work # we need this here to make our import statements work
# we must store _composed_schemas in here so the code is only run # we must store _composed_schemas in here so the code is only run
@ -316,6 +359,7 @@ class SchemaFor200ResponseBodyApplicationJson(
@classmethod @classmethod
@property @property
@functools.cache
def _composed_schemas(cls): def _composed_schemas(cls):
# we need this here to make our import statements work # we need this here to make our import statements work
# we must store _composed_schemas in here so the code is only run # we must store _composed_schemas in here so the code is only run
@ -370,6 +414,7 @@ class SchemaFor200ResponseBodyMultipartFormData(
@classmethod @classmethod
@property @property
@functools.cache
def _composed_schemas(cls): def _composed_schemas(cls):
# we need this here to make our import statements work # we need this here to make our import statements work
# we must store _composed_schemas in here so the code is only run # we must store _composed_schemas in here so the code is only run

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions
import decimal # noqa: F401 import decimal # noqa: F401
@ -62,8 +63,6 @@ from petstore_api.schemas import ( # noqa: F401
_SchemaEnumMaker _SchemaEnumMaker
) )
from petstore_api.model.map_bean import MapBean
# query params # query params

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions
import decimal # noqa: F401 import decimal # noqa: F401

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions
import decimal # noqa: F401 import decimal # noqa: F401

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions
import decimal # noqa: F401 import decimal # noqa: F401

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions
import decimal # noqa: F401 import decimal # noqa: F401

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions
import decimal # noqa: F401 import decimal # noqa: F401

View File

@ -11,6 +11,7 @@ import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing import typing
import urllib3 import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict from urllib3._collections import HTTPHeaderDict
from petstore_api import api_client, exceptions from petstore_api import api_client, exceptions

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401
@ -76,6 +77,7 @@ class AnyTypeNotString(
@classmethod @classmethod
@property @property
@functools.cache
def _composed_schemas(cls): def _composed_schemas(cls):
# we need this here to make our import statements work # we need this here to make our import statements work
# we must store _composed_schemas in here so the code is only run # we must store _composed_schemas in here so the code is only run

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

View File

@ -12,6 +12,7 @@
import re # noqa: F401 import re # noqa: F401
import sys # noqa: F401 import sys # noqa: F401
import typing # noqa: F401 import typing # noqa: F401
import functools # noqa: F401
from frozendict import frozendict # noqa: F401 from frozendict import frozendict # noqa: F401

Some files were not shown because too many files have changed in this diff Show More