Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

v3 fixes type errors #175

Merged
merged 41 commits into from
May 24, 2023
Merged

v3 fixes type errors #175

merged 41 commits into from
May 24, 2023

Conversation

spacether
Copy link
Contributor

@spacether spacether commented May 23, 2023

  • v3 fixes type errors that vscode reported with pylance basic type checking turned on

PR checklist

  • Read the contribution guidelines.
  • Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
  • Run the following to build the project and update samples:
    ./mvnw clean package 
    ./bin/generate-samples.sh
    ./bin/utils/export_docs_generators.sh
    
    Commit all changed files.
    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.

@spacether spacether merged commit 5bff212 into 3_0_0 May 24, 2023
@spacether spacether deleted the v3_fix_type_errors_in_py_files branch May 24, 2023 19:37
spacether added a commit that referenced this pull request May 31, 2023
* Fixes errors in server.py

* Fixes some errors in server py files

* Fixes schema_config type error

* Fixes errors in api_configuration

* Adds type ignoring for enum values, schemas fixed

* Fixes python tests

* Moves ApiException back into the exceptions module

* Fixes timeout type and rest client response type

* Adds int input back into timeout, fixes type errors in rest.py

* Fixes decimal exponent access

* Parameter content storage updated to tuple so code can see length 1

* Uses content tuple in serialize methods

* Adds __HeaderParameterBase to fix type error

* Updates urllib3.HTTPResponse -> urllib3_response.BaseHTTPResponse

* Adds _SERIALIZE_TYPES

* Fixes explode type error

* Fixes urllib3 response type + header and parameter schema references

* Fixes response type, fixes api_response header type

* Fixes 2 type errors

* Adds assertion

* Adds assertion

* Adds from_tuples method and needed types

* Fixes return type of __serialize_application_octet_stream

* Fixes __serialize_json

* Fixes __serialize_text_plain

* Fixes __serialize_application_x_www_form_data

* Fixes type error

* Fixes __serialize_multipart_form_data

* Fixes FieldValue types

* Fixes uer agent type error

* Fixes another type error

* Fixes type error

* Fixes type errors in security_schemes

* Fixes errors in two tests

* Fixes more type errors

* Fixes error in get_server_url invocation

* Fixes parameter and header serialization/deserialization

* Fixes content references

* Fixes parameter tests

* Fixes last python test errors

* Samples regen
spacether added a commit that referenced this pull request Jun 8, 2023
* Fixes errors in server.py

* Fixes some errors in server py files

* Fixes schema_config type error

* Fixes errors in api_configuration

* Adds type ignoring for enum values, schemas fixed

* Fixes python tests

* Moves ApiException back into the exceptions module

* Fixes timeout type and rest client response type

* Adds int input back into timeout, fixes type errors in rest.py

* Fixes decimal exponent access

* Parameter content storage updated to tuple so code can see length 1

* Uses content tuple in serialize methods

* Adds __HeaderParameterBase to fix type error

* Updates urllib3.HTTPResponse -> urllib3_response.BaseHTTPResponse

* Adds _SERIALIZE_TYPES

* Fixes explode type error

* Fixes urllib3 response type + header and parameter schema references

* Fixes response type, fixes api_response header type

* Fixes 2 type errors

* Adds assertion

* Adds assertion

* Adds from_tuples method and needed types

* Fixes return type of __serialize_application_octet_stream

* Fixes __serialize_json

* Fixes __serialize_text_plain

* Fixes __serialize_application_x_www_form_data

* Fixes type error

* Fixes __serialize_multipart_form_data

* Fixes FieldValue types

* Fixes uer agent type error

* Fixes another type error

* Fixes type error

* Fixes type errors in security_schemes

* Fixes errors in two tests

* Fixes more type errors

* Fixes error in get_server_url invocation

* Fixes parameter and header serialization/deserialization

* Fixes content references

* Fixes parameter tests

* Fixes last python test errors

* Samples regen
spacether added a commit that referenced this pull request Aug 16, 2023
* Fixes errors in server.py

* Fixes some errors in server py files

* Fixes schema_config type error

* Fixes errors in api_configuration

* Adds type ignoring for enum values, schemas fixed

* Fixes python tests

* Moves ApiException back into the exceptions module

* Fixes timeout type and rest client response type

* Adds int input back into timeout, fixes type errors in rest.py

* Fixes decimal exponent access

* Parameter content storage updated to tuple so code can see length 1

* Uses content tuple in serialize methods

* Adds __HeaderParameterBase to fix type error

* Updates urllib3.HTTPResponse -> urllib3_response.BaseHTTPResponse

* Adds _SERIALIZE_TYPES

* Fixes explode type error

* Fixes urllib3 response type + header and parameter schema references

* Fixes response type, fixes api_response header type

* Fixes 2 type errors

* Adds assertion

* Adds assertion

* Adds from_tuples method and needed types

* Fixes return type of __serialize_application_octet_stream

* Fixes __serialize_json

* Fixes __serialize_text_plain

* Fixes __serialize_application_x_www_form_data

* Fixes type error

* Fixes __serialize_multipart_form_data

* Fixes FieldValue types

* Fixes uer agent type error

* Fixes another type error

* Fixes type error

* Fixes type errors in security_schemes

* Fixes errors in two tests

* Fixes more type errors

* Fixes error in get_server_url invocation

* Fixes parameter and header serialization/deserialization

* Fixes content references

* Fixes parameter tests

* Fixes last python test errors

* Samples regen
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant