Skip to content

Site

The product type for sites. Used for tying together shared information between the products that reside here.

SiteInactive

Bases: SubscriptionModel

A site that is inactive.

Source code in gso/products/product_types/site.py
class SiteInactive(SubscriptionModel, is_base=True):
    """A site that is inactive."""

    site: SiteBlockInactive

SiteProvisioning

Bases: SiteInactive

A site that is being provisioned.

Source code in gso/products/product_types/site.py
class SiteProvisioning(SiteInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]):
    """A site that is being provisioned."""

    site: SiteBlockProvisioning

Site

Bases: SiteProvisioning

A site that is currently active.

Source code in gso/products/product_types/site.py
class Site(SiteProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
    """A site that is currently active."""

    site: SiteBlock

ImportedSiteInactive

Bases: SubscriptionModel

An imported site that is inactive.

Source code in gso/products/product_types/site.py
class ImportedSiteInactive(SubscriptionModel, is_base=True):
    """An imported site that is inactive."""

    site: SiteBlockInactive

ImportedSite

Bases: ImportedSiteInactive

An imported site that is currently active.

Source code in gso/products/product_types/site.py
class ImportedSite(ImportedSiteInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE]):
    """An imported site that is currently active."""

    site: SiteBlock