benchling_api_client.models.warehouse_credentials module

class WarehouseCredentials

Bases: object

__init__(expires_at: Union[benchling_api_client.types.Unset, datetime] = attr_dict['_expires_at'].default, password: Union[benchling_api_client.types.Unset, str] = attr_dict['_password'].default, username: Union[benchling_api_client.types.Unset, str] = attr_dict['_username'].default) None

Method generated by attrs for class WarehouseCredentials.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
property expires_at: datetime

The time after which new connections using the username/password will not be permitted. Upon expiration, currently open connections are not terminated.

classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.warehouse_credentials.T
get(key, default=None) Optional[Any]
property password: str

The password to connect to the warehouse.

to_dict() Dict[str, Any]
property username: str

The username to connect to the warehouse.