Skip to content

Commit

Permalink
remove Loader=yaml.FullLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangs18 committed Dec 13, 2024
1 parent 9bd96fa commit 5e0e704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
include:
- python-version: '3.7'
mongo-version: '3.6'
- python-version: '3.7'
mongo-version: '7.0.4'
# - python-version: '3.7'
# mongo-version: '7.0.4'
services:
mongo:
image: mongo:${{matrix.mongo-version}}
Expand Down
2 changes: 1 addition & 1 deletion lib/biokbase/catalog/registrar.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def sanity_checks_and_parse(self, basedir, git_commit_hash):
with codecs.open(os.path.join(basedir, yaml_filename), 'r', "utf-8",
errors='ignore') as kb_yaml_file:
kb_yaml_string = kb_yaml_file.read()
self.kb_yaml = yaml.load(kb_yaml_string, Loader=yaml.FullLoader)
self.kb_yaml = yaml.load(kb_yaml_string)
self.log('=====kbase.yaml parse:')
self.log(pprint.pformat(self.kb_yaml))
self.log('=====end kbase.yaml')
Expand Down

0 comments on commit 5e0e704

Please sign in to comment.