Skip to content

Commit

Permalink
Remove unused display_name property
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Dec 14, 2024
1 parent dcd6bb1 commit 9a73e00
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions binderhub/repoproviders.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,6 @@ class ZenodoProvider(RepoProvider):
"ref": {"enabled": False},
}

display_name = "Zenodo DOI"

async def get_resolved_ref(self):
client = AsyncHTTPClient()
req = HTTPRequest(f"https://doi.org/{self.spec}", user_agent="BinderHub")
Expand Down Expand Up @@ -309,8 +307,6 @@ class FigshareProvider(RepoProvider):

name = Unicode("Figshare")

display_name = "Figshare DOI"

display_config = {
"displayName": "FigShare DOI",
"id": "figshare",
Expand Down Expand Up @@ -365,8 +361,6 @@ def get_build_slug(self):
class DataverseProvider(RepoProvider):
name = Unicode("Dataverse")

display_name = "Dataverse DOI"

display_config = {
"displayName": "Dataverse DOI",
"id": "dataverse",
Expand Down Expand Up @@ -437,8 +431,6 @@ class HydroshareProvider(RepoProvider):

name = Unicode("Hydroshare")

display_name = "Hydroshare resource"

display_config = {
"displayName": "Hydroshare resource",
"id": "hydroshare",
Expand Down Expand Up @@ -508,8 +500,6 @@ class CKANProvider(RepoProvider):

name = Unicode("CKAN")

display_name = "CKAN dataset"

display_config = {
"displayName": "CKAN dataset",
"id": "ckan",
Expand Down Expand Up @@ -610,8 +600,6 @@ class GitRepoProvider(RepoProvider):

name = Unicode("Git")

display_name = "Git repository"

display_config = {
"displayName": "Git repository",
"id": "git",
Expand Down Expand Up @@ -719,8 +707,6 @@ class GitLabRepoProvider(RepoProvider):

name = Unicode("GitLab")

display_name = "GitLab.com"

display_config = {
"displayName": "GitLab",
"id": "gl",
Expand Down Expand Up @@ -863,8 +849,6 @@ class GitHubRepoProvider(RepoProvider):
"ref": {"enabled": True, "default": "HEAD"},
}

display_name = "GitHub"

# shared cache for resolved refs
cache = Cache(1024)

Expand Down Expand Up @@ -1125,8 +1109,6 @@ class GistRepoProvider(GitHubRepoProvider):

name = Unicode("Gist")

display_name = "Gist"

display_config = {
"displayName": "GitHub Gist",
"id": "gist",
Expand Down

0 comments on commit 9a73e00

Please sign in to comment.