Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[releases/2.1] Cherry-pick: [High Priority] Fix Path type conversion and type hints for client codegen #952

Merged
merged 1 commit into from
Sep 27, 2024

Commits on Sep 27, 2024

  1. [High Priority] Fix Path type conversion and type hints for client co…

    …degen (#931)
    
    * generator: Fix Path type conversion for client outputs
    
    * generator: Annotate array configuration parameters as Iterable[T] and array output parameters as Sequence[T]
    
    * generator: Fix lint errors
    
    * service: Fix lint errors
    
    * service: Revert debugging code
    
    * service: Simplify convert_paths_to_strings and convert_strings_to_paths
    
    * generator: Simplify client imports
    
    `from typing import big, list, of, things` results in a lot of conditional code. It's simpler to use `import typing` and reference `typing.Iterable`, etc.
    
    * generator: Use pathlib.PurePath for configuration parameters
    
    * generator: Fix lint errors
    
    * generator: Move path conversion and dict/list conversion into client_support module
    
    * service: Fix parameter name in client_support
    
    * service: Update client_support to use type specialization constants
    
    (cherry picked from commit 6e0aedb)
    bkeryan committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    250879d View commit details
    Browse the repository at this point in the history