Skip to content

Custom session  #1579

@HardipinderS

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

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