diff --git a/doc_gen/index.rst b/doc_gen/index.rst index 59b51ae..59f908e 100644 --- a/doc_gen/index.rst +++ b/doc_gen/index.rst @@ -19,20 +19,6 @@ Main Module :members: :undoc-members: -Logger -====== - -.. automodule:: pystream.logger - :members: - :undoc-members: - -Utils -===== - -.. automodule:: pystream.utils - :members: - :undoc-members: - Models ====== Authenticator @@ -100,6 +86,22 @@ Video :members: :undoc-members: +Support Modules +=============== +Logger +====== + +.. automodule:: pystream.logger + :members: + :undoc-members: + +Utils +===== + +.. automodule:: pystream.utils + :members: + :undoc-members: + Indices and tables ================== diff --git a/docs/_sources/index.rst.txt b/docs/_sources/index.rst.txt index 59b51ae..59f908e 100644 --- a/docs/_sources/index.rst.txt +++ b/docs/_sources/index.rst.txt @@ -19,20 +19,6 @@ Main Module :members: :undoc-members: -Logger -====== - -.. automodule:: pystream.logger - :members: - :undoc-members: - -Utils -===== - -.. automodule:: pystream.utils - :members: - :undoc-members: - Models ====== Authenticator @@ -100,6 +86,22 @@ Video :members: :undoc-members: +Support Modules +=============== +Logger +====== + +.. automodule:: pystream.logger + :members: + :undoc-members: + +Utils +===== + +.. automodule:: pystream.utils + :members: + :undoc-members: + Indices and tables ================== diff --git a/docs/index.html b/docs/index.html index 9fa78ea..59b63f8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -80,79 +80,6 @@
Class to initiate /
filter in logs while preserving other access logs.
>>> RootFilter
-
See also
-Filters "GET /login HTTP/1.1" 200 OK
, "GET / HTTP/1.1" 307 Temporary Redirect
, /video?vid_name=...
Includes redundant logging for each iterable passed in StreamingResponse
Overrides logging by implementing a subclass of logging.Filter
The method filter(record)
, that examines the log record and returns True to log it or False to discard it.
Initialize a filter.
-Initialize with the name of the logger which, together with its -children, will have its events allowed through the filter. If no -name is specified, allow every event.
-Filter out logging at /
from log streams.
record – LogRecord
represents an event which is created every time something is logged.
False flag for the endpoint that needs to be filtered.
-bool
-Uses simple check on network id to retrieve the local IP address.
-Private IP address of host machine.
-IPv4Address
-Extract public IP address of the connection by making a request to external source.
-Public IP address of host machine’s connection.
-IPv4Address
-See also
+Warning
lru_cache
takes all params of the function and creates a key
lru_cache
takes all params of the function and creates a key.
If even one key is changed, it will map to new entry thus refreshed.
This is just a trick to force lrc_cache lib to provide TTL on top of max size.
Uses time.monotonic
since time.time
relies on the system clock and may not be monotonic
time.monotonic
since time.time
is not guaranteed to always increase, it may in fact decrease ifClass to initiate /
filter in logs while preserving other access logs.
>>> RootFilter
+
See also
+Filters "GET /login HTTP/1.1" 200 OK
, "GET / HTTP/1.1" 307 Temporary Redirect
, /video?vid_name=...
Includes redundant logging for each iterable passed in StreamingResponse
Overrides logging by implementing a subclass of logging.Filter
The method filter(record)
, that examines the log record and returns True to log it or False to discard it.
Initialize a filter.
+Initialize with the name of the logger which, together with its +children, will have its events allowed through the filter. If no +name is specified, allow every event.
+Filter out logging at /
from log streams.
record – LogRecord
represents an event which is created every time something is logged.
False flag for the endpoint that needs to be filtered.
+bool
+Uses simple check on network id to retrieve the local IP address.
+Private IP address of host machine.
+IPv4Address
+Extract public IP address of the connection by making a request to external source.
+Public IP address of host machine’s connection.
+IPv4Address
+