lucit_ubdcc_shared_modules package¶
Submodules¶
lucit_ubdcc_shared_modules.App module¶
- class lucit_ubdcc_shared_modules.App.App(app_name=None, cwd=None, logger=None, service=None, service_call=None, stop_call=None)[source]¶
Bases:
object
lucit_ubdcc_shared_modules.Database module¶
- class lucit_ubdcc_shared_modules.Database.Database(app=None)[source]¶
Bases:
object
- add_depthcache(exchange: str = None, market: str = None, desired_quantity: int = None, update_interval: int = None, refresh_interval: int = None) → bool[source]¶
- add_depthcache_distribution(exchange: str = None, market: str = None, pod_uid: str = None, scheduled_start_time: float = None) → bool[source]¶
- add_pod(name: str = None, uid: str = None, node: str = None, role: str = None, ip: str = None, api_port_rest: int = None, status: str = None, ubldc_version: str = None, version: str = None) → bool[source]¶
- delete_depthcache_distribution(exchange: str = None, market: str = None, pod_uid: str = None) → bool[source]¶
- update_depthcache(desired_quantity: int = None, exchange: str = None, refresh_interval: int = None, market: str = None, update_interval: int = None) → bool[source]¶
lucit_ubdcc_shared_modules.LicensingExceptions module¶
lucit_ubdcc_shared_modules.LicensingManager module¶
- class lucit_ubdcc_shared_modules.LicensingManager.LucitLicensingManager(api_secret: str | None = None, license_token: str | None = None, license_ini: str | None = None, license_profile: str | None = None, program_used: str | None = None, start: bool = True, parent_shutdown_function: Callable[[bool], bool] = None, needed_license_type: str | None = None)[source]¶
Bases:
Thread
- run()[source]¶
Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.
lucit_ubdcc_shared_modules.RestEndpointsBase module¶
- class lucit_ubdcc_shared_modules.RestEndpointsBase.RestEndpointsBase(app=None)[source]¶
Bases:
object
- static create_debug_response(process_start_time: float = None, url: str = None, used_pods: list = None) → dict[source]¶
- get_error_response(event: str = None, error_id: str = None, message: str = None, params: dict = None, process_start_time: float = None, url: str = None, used_pods: list = None)[source]¶
lucit_ubdcc_shared_modules.RestServer module¶
- class lucit_ubdcc_shared_modules.RestServer.RestServer(app=None, endpoints=None, port=None)[source]¶
Bases:
Thread
- run() → None[source]¶
Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.