buildbot-nix/buildbot_nix/github/repo_token.py

12 lines
179 B
Python
Raw Permalink Normal View History

from abc import abstractmethod
class RepoToken:
@abstractmethod
def get(self) -> str:
pass
@abstractmethod
def get_as_secret(self) -> str:
pass