Skip to content

Custom session  #1579

Description

@HardipinderS

Hi Team,

Wanted to request if we can have custom sessions option present in the sdk.

I'm still looking around the sdk to find where exactly the request calls are made and how things are processed, but in the ManagementRoot class, if we can have another argument passed
like

def __init__(self, hostname, username, password, **kwargs):
        super(ManagementRoot, self).__init__(
            hostname, username, password, session=request.Session() **kwargs
        )
        self.set_metadata_uri(**self.args)
        self.post_configuration_setup()

Let me know if this is possible

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions