MCPcopy
hub / github.com/ModelEngine-Group/nexent / TenantConfig

Class TenantConfig

backend/database/db_models.py:582–596  ·  view source on GitHub ↗

Tenant configuration information table

Source from the content-addressed store, hash-verified

580
581
582class TenantConfig(TableBase):
583 """
584 Tenant configuration information table
585 """
586 __tablename__ = "tenant_config_t"
587 __table_args__ = {"schema": SCHEMA}
588
589 tenant_config_id = Column(Integer, Sequence(
590 "tenant_config_t_tenant_config_id_seq", schema=SCHEMA), primary_key=True, nullable=False, doc="ID")
591 tenant_id = Column(String(100), doc="Tenant ID")
592 user_id = Column(String(100), doc="User ID")
593 value_type = Column(String(
594 100), doc=" the data type of config_value, optional values: single/multi", default="single")
595 config_key = Column(String(100), doc="the key of the config")
596 config_value = Column(Text, doc="the value of the config")
597
598
599class MemoryUserConfig(TableBase):

Callers 1

insert_configFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected