Module aiogithubapi.models.license

GitHub license data class.

Expand source code
"""GitHub license data class."""
from __future__ import annotations

from .base import GitHubDataModelBase


class GitHubLicenseModel(GitHubDataModelBase):
    """GitHub license data class."""

    key: str | None = None
    name: str | None = None
    spdx_id: str | None = None
    url: str | None = None

Classes

class GitHubLicenseModel (data: Dict[str, Any])

GitHub license data class.

Init.

Expand source code
class GitHubLicenseModel(GitHubDataModelBase):
    """GitHub license data class."""

    key: str | None = None
    name: str | None = None
    spdx_id: str | None = None
    url: str | None = None

Ancestors

Class variables

var key : str | None
var name : str | None
var spdx_id : str | None
var url : str | None

Inherited members