def reconciler(name, **kwargs): # pylint: disable=W0613 organization.ensure_organization_resources(organization_name=name) # pylint: disable=E1120 org = organization.get_organization(name) org_tenants = org.tenants for org_tenant in org_tenants: tenant.ensure_tenant_resources( organization=org, tenant_name=org_tenant.name) tenant_spaces = org_tenant.spaces for tenant_space in tenant_spaces: space.ensure_space_resources( organization=org, tenant=org_tenant, space_name=tenant_space.name)
def create_organization(name, **kwargs): # pylint: disable=W0613 organization.ensure_organization_resources(organization_name=name)
def create_organization(name, **kwargs): organization.ensure_organization_resources(organization_name=name)