Skip to content

sync_driver

scrapli_community.aethra.atosnt.sync_driver

default_sync_on_close(conn: GenericDriver) -> None

aethra_atosnt default on_close callable

Parameters:

Name Type Description Default
conn GenericDriver

GenericDriver object

required

Returns:

Type Description
None

N/A

Source code in aethra/atosnt/sync_driver.py
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
def default_sync_on_close(conn: GenericDriver) -> None:
    """
    aethra_atosnt default on_close callable

    Args:
        conn: GenericDriver object

    Returns:
        N/A

    Raises:
        N/A

    """
    conn.channel.write(channel_input="\x04")
    conn.channel.send_return()