# Tenant
# TenantView
A view of tenant data stored in the Prefect API.
This object is designed to be an immutable view of the data stored in the Prefect backend API at the time it is created
Args:
tenant_id
: The uuid of the tenantname
: The name of the tenantslug
: A machine compatible unique identifier for the tenant
methods: |
---|
prefect.backend.tenant.TenantView.from_current_tenant ()[source] |
Get an instance of this class filled with information by querying for the tenant id set in the Prefect Client |
prefect.backend.tenant.TenantView.from_tenant_id (tenant_id)[source] |
Get an instance of this class filled with information by querying for the given tenant id
TenantView instance |
This documentation was auto-generated from commit ffa9a6c
on February 1, 2023 at 18:44 UTC