TipConfig
- class q2_sdk.hq.db.tip_config.GetTipConfigRow(element, row_class=None, rename_fields=None)[source]
Bases:
TableRow
- class q2_sdk.hq.db.tip_config.GetTipConfigByGtTypeRow(element, row_class=None, rename_fields=None)[source]
Bases:
TableRow
- class q2_sdk.hq.db.tip_config.TipConfigDefaultParamsFactory(endpoint_url, optional_ui_source_short_name=None, optional_gt_flavor_short_name=None, optional_group_id=None, is_enabled=True, is_active_mode=False, fallback_transaction_status_short_name='Drafted')[source]
Bases:
objectTipConfigDefaultParamsFactory(endpoint_url: str, optional_ui_source_short_name: Optional[str] = None, optional_gt_flavor_short_name: Optional[str] = None, optional_group_id: Optional[int] = None, is_enabled: bool = True, is_active_mode: bool = False, fallback_transaction_status_short_name: str = ‘Drafted’)
- class q2_sdk.hq.db.tip_config.TipConfig(logger, hq_credentials=None, ret_table_obj=None)[source]
Bases:
DbObjectProgrammatic access to the Q2 database. Not as flexible as a true ORM, but takes the guesswork out of database schemas and ensures safety in the transactions.
- Parameters:
logger – Reference to calling request’s logger (self.logger in your extension)
hq_credentials (
Optional[HqCredentials]) – HQ Connectivity Information (Defaults to settings file)ret_table_obj (
Optional[bool]) – Flag to return list of LXML elements ifFalseor TableRow objects from DB calls ifTrue(Defaults to settings file)
- NAME = 'TipConfig'
- REPRESENTATION_ROW_CLASS
alias of
GetTipConfigRow
- async get(user_id, gt_type_short_name, ui_source_short_name=None, optional_gt_flavor_short_name=None, serialize_for_cli=False)[source]
- Return type: