8.2.7.34. Site¶
- class Site(sitemap, host='localhost', port=0, delay=0.1, until=30, run_options=None, idle_timeout=0, url_prefix=None, **kwargs)[source]¶
Methods
__delattr__Implement delattr(self, name).
__dir__Default dir() implementation.
__eq__Return self==value.
__format__Default object formatter.
__ge__Return self>=value.
__getattribute__Return getattr(self, name).
__getstate__Helper for pickle.
__gt__Return self>value.
__hash__Return hash(self).
__init_subclass__This method is called when a class is subclassed.
__le__Return self<=value.
__lt__Return self<value.
__ne__Return self!=value.
__new____reduce__Helper for pickle.
__reduce_ex__Helper for pickle.
Return repr(self).
__setattr__Implement setattr(self, name, value).
__sizeof__Size of object in memory, in bytes.
__str__Return str(self).
__subclasshook__Abstract classes can override this to customize issubclass().
- __init__(sitemap, host='localhost', port=0, delay=0.1, until=30, run_options=None, idle_timeout=0, url_prefix=None, **kwargs)[source]¶
Attributes
list of weak references to the object
- __init__(sitemap, host='localhost', port=0, delay=0.1, until=30, run_options=None, idle_timeout=0, url_prefix=None, **kwargs)[source]¶
- property url¶
- property is_running¶
- __annotations__ = {}¶
- __dict__ = mappingproxy({'__module__': 'schedula.utils.drw', '__init__': <function Site.__init__>, '__repr__': <function Site.__repr__>, 'get_port': <function Site.get_port>, 'format': <function Site.format>, '_repr_html_': <function Site._repr_html_>, 'url': <property object>, 'update_last_activity': <function Site.update_last_activity>, 'alive_view': <staticmethod(<function Site.alive_view>)>, 'app': <function Site.app>, 'shutdown_site': <staticmethod(<function Site.shutdown_site>)>, 'run': <function Site.run>, 'is_running': <property object>, 'wait_server': <function Site.wait_server>, '__dict__': <attribute '__dict__' of 'Site' objects>, '__weakref__': <attribute '__weakref__' of 'Site' objects>, '__doc__': None, '__annotations__': {}})¶
- __doc__ = None¶
- __module__ = 'schedula.utils.drw'¶
- __weakref__¶
list of weak references to the object