WedgeAddress
- class q2_sdk.hq.db.wedge_address.WedgeAddressRow(element, row_class=None, rename_fields=None)[source]
Bases:
TableRow- WedgeAddressID: int
- WedgeAddressTypeName: str
- Url: str
- VendorId: int
- TimeoutInMilliSeconds: int
- Version: str
- Config: str
- WedgePayloadStoredProc: str
- HqAuthTokenTypeID: int
- HqAuthTokenType: str
- AuthTokenLifeInMinutes: int
- ConnectTimeoutInMilli: int
- SendAccountList: bool
- SendAccountDetails: int
- AccountRightsBitFlag: int
- AccountRightsIsExplicit: bool
- AccountHydraProductCodes: str
- SkipGetUnsignedToken: bool
- class q2_sdk.hq.db.wedge_address.WedgeAddressWithAuditActionsRow(element, row_class=None, rename_fields=None)[source]
Bases:
TableRow- WedgeAddressID: int
- WedgeAddressTypeName: str
- Url: str
- VendorId: int
- WedgePayloadStoredProc: str
- SendAccountList: bool
- SendAccountDetails: int
- AuditAction: str
- HasAfterAuditAction: bool
- HasBeforeAuditAction: bool
- class q2_sdk.hq.db.wedge_address.WedgeAddress(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)
- GET_BY_NAME_KEY = 'WedgeAddressTypeName'
- NAME = 'WedgeAddress'
- REPRESENTATION_ROW_CLASS
alias of
WedgeAddressRow
- async get(short_name=None, serialize_for_cli=False, **kwargs)[source]
- Return type:
List[WedgeAddressRow]
- async update(wedge_address_type_name, url=None, time_out_in_milli_seconds=None, account_rights_bit_flag=None, hq_auth_token_type_id=None, config=None, auth_token_life_in_minutes=None, skip_unsigned_token=True, serialize_for_cli=False)[source]
- Return type:
list[WedgeAddressRow]