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

Custom session #1579

Open
HardipinderS opened this issue May 19, 2021 · 0 comments
Open

Custom session #1579

HardipinderS opened this issue May 19, 2021 · 0 comments

Comments

@HardipinderS
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant