Skip to content

plpipes.cloud.azure.graph#

fs(account_name) #

Get the file system object for the specified account name.

Parameters:

Name Type Description Default
account_name str

The name of the account.

required

Returns:

Name Type Description
_FS

Instance of the file system object for the specified account.

Source code in src\plpipes\cloud\azure\graph.py
def fs(account_name):
    """Get the file system object for the specified account name.

    Args:
        account_name (str): The name of the account.

    Returns:
        _FS: Instance of the file system object for the specified account.
    """
    if account_name not in _fs_registry:
        _init_fs(account_name)
    return _fs_registry[account_name].root()

graph(account_name) #

Get the GraphClient object for the specified account name.

Parameters:

Name Type Description Default
account_name str

The name of the account.

required

Returns:

Name Type Description
GraphClient

Instance of GraphClient for the specified account.

Source code in src\plpipes\cloud\azure\graph.py
def graph(account_name):
    """Get the GraphClient object for the specified account name.

    Args:
        account_name (str): The name of the account.

    Returns:
        GraphClient: Instance of GraphClient for the specified account.
    """
    if account_name not in _graph_registry:
        _init_graph(account_name)
    return _graph_registry[account_name]