ServerInterface
Attributes
attributeconfig= configattributesettings= settingsattributeheaders= {'Authorization': f'Bearer {self.settings._auth}', 'Content-Type': 'application/json', 'User-Agent': f'{self.settings.tag}', 'X-Run-Id': f'{self.settings._op_id}', 'X-Run-Name': f'{self.settings._op_name}', 'X-Project-Name': f'{self.settings.project}'}attributeheaders_num= self.headers.copy()attributeclient= httpx.Client(verify=True if not self.settings.insecure_disable_ssl else False, proxy=self.settings.http_proxy or self.settings.https_proxy or None, limits=httpx.Limits(max_keepalive_connections=self.settings.x_file_stream_max_conn, max_connections=self.settings.x_file_stream_max_conn), timeout=httpx.Timeout(self.settings.x_file_stream_timeout_seconds))attributeclient_storage= httpx.Client(verify=not self.settings.insecure_disable_ssl, proxy=self.settings.http_proxy or self.settings.https_proxy or None, timeout=httpx.Timeout(self.settings.x_file_stream_timeout_seconds))attributeclient_api= httpx.Client(verify=True if not self.settings.insecure_disable_ssl else False, proxy=self.settings.http_proxy or self.settings.https_proxy or None, timeout=httpx.Timeout(self.settings.x_file_stream_timeout_seconds))Functions
func__init__(self, config, settings) -> NoneparamselfparamconfigdictparamsettingsSettingsReturns
Nonefuncstart(self) -> NoneparamselfReturns
Nonefuncpublish(self, num=None, data=None, file=None, timestamp=None, step=None) -> Noneparamselfparamnumdict[str, any] | None= Noneparamdatadict[str, any] | None= Noneparamfiledict[str, any] | None= Noneparamtimestampint | None= Noneparamstepint | None= NoneReturns
Nonefuncstop(self) -> NoneparamselfReturns
Nonefunc_update_status(self, settings, trace=None)paramselfparamsettingsparamtrace= NoneReturns
Nonefunc_update_meta(self, num=None, df=None)paramselfparamnum= Noneparamdf= NoneReturns
Nonefunc_worker_progress(self)paramselfReturns
Nonefunc_worker_publish(self, e, h, q, stop, name=None)paramselfparameparamhparamqparamstopparamname= NoneReturns
Nonefunc_worker_storage(self, f, url, data)paramselfparamfparamurlparamdataReturns
Nonefunc_worker_file(self, file, q)paramselfparamfileparamqReturns
Nonefunc_worker_meta(self, num=None, file=None)paramselfparamnum= Noneparamfile= NoneReturns
Nonefunc_queue_iter(self, q, b)paramselfparamqparambReturns
Nonefunc_try(self, method, url, headers, content, name=None, q=None, retry=0)paramselfparammethodparamurlparamheadersparamcontentparamname= Noneparamq= Noneparamretry= 0Returns
Nonefunc_put_v1(self, url, headers, content, client, name='put')paramselfparamurlparamheadersparamcontentparamclientparamname= 'put'Returns
Nonefunc_post_v1(self, url, headers, q, client, name='post')paramselfparamurlparamheadersparamqparamclientparamname= 'post'Returns
None