Skip to content

Backport changes in configuration.py, api_client.py, and rest.py to swagger-codegen #341

Closed
@mbohlool

Description

@mbohlool

For velocity, we changed these files and disabled generation for them, but it is now time to backport changes to swagger-codegen so we can use the latest generator. These are items that need to be backported:

- config.http_proxy_url is deprecated. use configuration.proxy instead.
- Exec and attach calls does not return a streaming object anymore. Use kubernetes.stream instead
- Configuration is not a singleton object anymore. Please use Configuraion.set_default to change default configuration.
- Configuration class does not support `ws_streaming_protocol` anymore. Use ApiClient.set_default_header for `sec-websocket-protocol` to have the same effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions