INNER CODE UNIT · Python

__new__

unrealcv/unrealcv · client/python/unrealcv/__init__.py:37

    def __new__(cls, command, response_format):
        value = super().__new__(cls, command)
        value.response_format = response_format
        return value


_L = logging.getLogger(__name__)
# _L.addHandler(logging.NullHandler()) # Let client to decide how to do logging
_L.handlers = []
h = logging.StreamHandler()
h.setFormatter(logging.Formatter('%(levelname)s:%(module)s:%(lineno)d:%(message)s'))
_L.addHandler(h)
_L.propagate = False
_L.setLevel(logging.INFO)

__version__ = '1.3.2'  # release current client changes under a distinct version

class SocketMessage:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…