pyzte5g/models/connection.py
def state(self) -> str:
        """
            String: Current state of the WAN connection.
                    e.g. ['ppp_disconnected', 'ppp_connecting', 'ipv4_ipv6_connected']
        """
        return self.get_connection().get('state', '')

            String: Current state of the WAN connection.
                    e.g. ['ppp_disconnected', 'ppp_connecting', 'ipv4_ipv6_connected']
        
Current state of the WAN connection.
Current state of the WAN connection .
def state(self) -> str:
        return self.get_connection().get('state', '')
def state ( self ) -> str : return self . get_connection ( ) . get ( 'state' , '' )
String: Current state of the WAN connection.
String : Current state of the WAN connection .
"""
            String: Current state of the WAN connection.
                    e.g. ['ppp_disconnected', 'ppp_connecting', 'ipv4_ipv6_connected']
        """
self