Skip to content

Commit

Permalink
misc: add some doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nichmor committed Aug 2, 2024
1 parent a00a678 commit 52987fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rattler_build_conda_compat/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def parse_recipe(self) -> dict[str, Any]:

def name(self) -> str:
"""
Overrides the conda_build.metadata.MetaData.name method.
Returns the name of the package.
If recipe has multiple outputs, it will return the name of the `recipe` field.
Otherwise it will return the name of the `package` field.
Expand All @@ -94,6 +95,7 @@ def name(self) -> str:

def version(self) -> str:
"""
Overrides the conda_build.metadata.MetaData.version method.
Returns the version of the package.
If recipe has multiple outputs, it will return the version of the `recipe` field.
Otherwise it will return the version of the `package` field.
Expand Down

0 comments on commit 52987fa

Please sign in to comment.