Skip to content

Commit

Permalink
Delint.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkw31 committed Aug 6, 2024
1 parent ef8c4ca commit f96a37e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions softpack_core/schemas/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,15 +613,19 @@ def add_tag(

@classmethod
def read_metadata(cls, path: str, name: str) -> Box:
"""This method returns the metadata for an environment with the given
"""Read an environments metadata.
This method returns the metadata for an environment with the given
path and name.
"""
return artifacts.get(path, name).metadata()

@classmethod
def store_metadata(cls, environment_path: str, metadata: Box):
"""This method writes the given metadata to the repo for the environment
path given.
"""Store an environments metadata.
This method writes the given metadata to the repo for the
environment path given.
"""
tree_oid = artifacts.create_file(
environment_path,
Expand Down

0 comments on commit f96a37e

Please sign in to comment.