Skip to content

config

dev_tool.services.update.config

UpdateServiceConfig dataclass

A data class for update service configuration and endpoints.

This class stores both configuration parameters and provides endpoint methods.

base_url = 'https://api.github.com' class-attribute instance-attribute

owner = 'stratusadv' class-attribute instance-attribute

repository = 'dev-tools' class-attribute instance-attribute

releases

Get the releases endpoint URL.

Source code in dev_tool/services/update/config.py
def releases(self) -> str:
    """Get the releases endpoint URL."""
    return f'/repos/{self.owner}/{self.repository}/releases'