bugfix/r: git property needs to be classproperty (#48228)

This commit is contained in:
Tamara Dahlgren
2025-01-13 10:14:26 -08:00
committed by GitHub
parent ddaa9d5d81
commit f556ba46d9

View File

@@ -94,7 +94,7 @@ def list_url(cls):
if cls.cran:
return f"https://cloud.r-project.org/src/contrib/Archive/{cls.cran}/"
@property
def git(self):
if self.bioc:
return f"https://git.bioconductor.org/packages/{self.bioc}"
@lang.classproperty
def git(cls):
if cls.bioc:
return f"https://git.bioconductor.org/packages/{cls.bioc}"