xia_storer.storer.Storer

class xia_storer.storer.Storer(location: str, data_store: str = '', **kwargs)

Bases: object

Store logging data

__init__(location: str, data_store: str = '', **kwargs)

Methods

__init__(location[, data_store])

get_log_location(domain_name, model_name, ...)

get_read_fp()

Get file-like object to ready

get_write_fp()

Get file-like object to write

Attributes

default_store

path_separator

Current OS path seperator

root_location

supported_stores

get_read_fp()

Get file-like object to ready

Returns

a readable file-like object

get_write_fp()

Get file-like object to write

Returns

a writable file-like object

path_separator = '/'

Current OS path seperator