whylogs.api.logger.events#

Submodules#

Package Contents#

Classes#

Functions#

log_debug_event([debug_event, name, tags, ...])

class whylogs.api.logger.events.DebugClient(api_client: Optional[whylabs_client.ApiClient] = None, org_id: Optional[str] = None, dataset_id: Optional[str] = None, ssl_ca_cert: Optional[str] = None)#
Parameters
  • api_client (Optional[whylabs_client.ApiClient]) –

  • org_id (Optional[str]) –

  • dataset_id (Optional[str]) –

  • ssl_ca_cert (Optional[str]) –

log_debug_event(debug_event: Optional[Dict[str, Any]] = None, *, trace_id: str, tags: Optional[List[str]] = None, dataset_timestamp: Optional[datetime.datetime] = None, segment_key_values: Optional[Dict[str, str]] = None)#
Parameters
  • debug_event (Optional[Dict[str, Any]]) –

  • trace_id (str) –

  • tags (Optional[List[str]]) –

  • dataset_timestamp (Optional[datetime.datetime]) –

  • segment_key_values (Optional[Dict[str, str]]) –

whylogs.api.logger.events.log_debug_event(debug_event: Optional[Dict[str, Any]] = None, *, trace_id: str, name: Optional[str] = None, tags: Optional[List[str]] = None, dataset_timestamp: Optional[datetime.datetime] = None, segment_key_values: Optional[Dict[str, str]] = None, write_local_file: bool = False)#
Parameters
  • debug_event (Optional[Dict[str, Any]]) –

  • trace_id (str) –

  • name (Optional[str]) –

  • tags (Optional[List[str]]) –

  • dataset_timestamp (Optional[datetime.datetime]) –

  • segment_key_values (Optional[Dict[str, str]]) –

  • write_local_file (bool) –