<filename>sdk/python/pulumi_openstack/__init__.py
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

# Export this package's modules as members:
from .provider import *

# Make subpackages available:
from . import (
    blockstorage,
    compute,
    config,
    containerinfra,
    database,
    dns,
    firewall,
    identity,
    images,
    keymanager,
    loadbalancer,
    networking,
    objectstorage,
    orchestration,
    sharedfilesystem,
    vpnaas,
)

def _register_module():
    import pulumi
    from . import _utilities


    class Package(pulumi.runtime.ResourcePackage):
        _version = _utilities.get_semver_version()

        def version(self):
            return Package._version

        def construct_provider(self, name: str, typ: str, urn: str) -> pulumi.ProviderResource:
            if typ != "pulumi:providers:openstack":
                raise Exception(f"unknown provider type {typ}")
            return Provider(name, pulumi.ResourceOptions(urn=urn))


    pulumi.runtime.register_resource_package("openstack", Package())

_register_module()

<filename>sdk/python/pulumi_openstack/__init__.py
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

# Export this package's modules as members:
from .provider import *

# Make subpackages available:
from . import (
    blockstorage,
    compute,
    config,
    containerinfra,
    database,
    dns,
    firewall,
    identity,
    images,
    keymanager,
    loadbalancer,
    networking,
    objectstorage,
    orchestration,
    sharedfilesystem,
    vpnaas,
)

def _register_module():
    import pulumi
    from . import _utilities


    class Package(pulumi.runtime.ResourcePackage):
        _version = _utilities.get_semver_version()

        def version(self):
            return Package._version

        def construct_provider(self, name: str, typ: str, urn: str) -> pulumi.ProviderResource:
            if typ != "pulumi:providers:openstack":
                raise Exception(f"unknown provider type {typ}")
            return Provider(name, pulumi.ResourceOptions(urn=urn))


    pulumi.runtime.register_resource_package("openstack", Package())

_register_module()

# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Export this package's modules as members: # Make subpackages available: