def __init__(self, app, session, file_info, host_url=None, external_endpoint=None, custom_uri=None): """init Parameters ---------- app : Flask Flask app session : AskOmics session file_info : dict file info host_url : None, optional AskOmics url """ File.__init__(self, app, session, file_info, host_url, external_endpoint=external_endpoint, custom_uri=custom_uri) self.entity_name = '' self.category_values = {} self.attributes = {} self.attribute_abstraction = [] self.faldo_entity = True
def __init__(self, app, session, file_info, host_url=None, external_endpoint=None, custom_uri=None): """init Parameters ---------- app : Flask Flask app session : AskOmics session file_info : dict file info host_url : None, optional AskOmics url """ File.__init__(self, app, session, file_info, host_url, external_endpoint=external_endpoint, custom_uri=custom_uri)
def __init__(self, app, session, file_info, host_url=None, external_endpoint=None, custom_uri=None): """init Parameters ---------- app : Flask Flask app session : AskOmics session file_info : dict file info host_url : None, optional AskOmics url """ File.__init__(self, app, session, file_info, host_url, external_endpoint=external_endpoint, custom_uri=custom_uri) self.type_dict = { "rdf/ttl": "turtle", "rdf/xml": "xml", "rdf/nt": "nt" }
def __init__(self, app, session, file_info, host_url=None, external_endpoint=None, custom_uri=None): """init Parameters ---------- app : Flask Flask app session : AskOmics session file_info : dict file info host_url : None, optional AskOmics url """ File.__init__(self, app, session, file_info, host_url, external_endpoint=external_endpoint, custom_uri=custom_uri) self.preview_limit = 30 try: self.preview_limit = self.settings.getint("askomics", "npreview") except Exception: pass self.header = [] self.preview = [] self.columns_type = [] self.category_values = {}