Skip to content

web_hosting_service

HostingServiceInfo

Source code in src/cookiecutter_python/backend/hosting_services/web_hosting_service.py
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
class HostingServiceInfo:
    def create(self, *args, **kwargs):
        """Factory method for creating WebHostingService instances.

        Raises:
            NotImplementedError: [description]
        """
        raise NotImplementedError

    @property
    def service(self):
        return self.create()

    @property
    def variable_name(self) -> str:
        raise NotImplementedError

create(*args, **kwargs)

Factory method for creating WebHostingService instances.

Raises:

Type Description
NotImplementedError

[description]

Source code in src/cookiecutter_python/backend/hosting_services/web_hosting_service.py
30
31
32
33
34
35
36
def create(self, *args, **kwargs):
    """Factory method for creating WebHostingService instances.

    Raises:
        NotImplementedError: [description]
    """
    raise NotImplementedError