Skip to content

Initialize all broker objects to None during __init__ #38

@uberdeveloper

Description

@uberdeveloper

Initialize all direct instances to None during __init__
and assign them only during authentication

Example, zerodha broker has a kite object that refers to the direct instance.
During initialization, this would be set to None and the kite object would be assigned only during authentication.

Expected action after __init__
self.kite = None
Expect action after authenticate
self.kite = KiteObjectInstance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions