You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 11, 2025. It is now read-only.
We should introduce DataSource base class and then rewrite (automatically) the yaml file into pythonic code. For example:
classGitDataSource(DataSource):
title: str="Plain git repository"description: str="This is a plain git repository with no issues/PRs attached. For GitHub repositories, use the GitHub source type."regex: str=r"(?:https?|git)://.*/.+\.git"example: str="git://example.org/repos/foo.git"optauth: List[str] = [
"username",
"password",
]
This will also bring us closer to refactoring API - having a DataSource class we can implement common update, delete, create methods that will be used by /api/sources endpoint.
Use case
To make it easier to work with data sources and keep them as pythonic object not yaml files.