Skip to content

EnvironmentRepositorySource

Source code in docs_src/capo_continuum/types/environment_repository_source.py
class EnvironmentRepositorySource(TypedDict, closed=True):
    integration_id: "capo_continuum.types.integration_id.IntegrationId"
    """Integration that provides the selected repository."""
    repository: "capo_continuum.types.repository_name.RepositoryName"
    """Repository selected from that integration in owner/repository form."""
    default_branch: NotRequired[
        "capo_continuum.types.repository_branch.RepositoryBranch"
    ]
    """Branch used when a scan does not choose a more specific revision."""

default_branch instance-attribute

default_branch: NotRequired[RepositoryBranch]

Branch used when a scan does not choose a more specific revision.

integration_id instance-attribute

integration_id: IntegrationId

Integration that provides the selected repository.

repository instance-attribute

repository: RepositoryName

Repository selected from that integration in owner/repository form.