Skip to content

Commit

Permalink
Fix use of deprecated gxformat2._yaml module
Browse files Browse the repository at this point in the history
Fix the following warning:

```
lib/galaxy_test/base/populators.py:79: DeprecationWarning: Importing gxformat2._yaml is deprecated, use gxformat2.yaml instead
    from gxformat2._yaml import ordered_load
```
  • Loading branch information
nsoranzo committed Jun 24, 2024
1 parent 74d5cf1 commit c1439a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
Response,
status,
)
from gxformat2._yaml import ordered_dump
from gxformat2.yaml import ordered_dump
from pydantic import (
UUID1,
UUID4,
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy_test/base/populators.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
convert_and_import_workflow,
ImporterGalaxyInterface,
)
from gxformat2._yaml import ordered_load
from gxformat2.yaml import ordered_load
from requests import Response
from rocrate.rocrate import ROCrate
from typing_extensions import Literal
Expand Down

0 comments on commit c1439a1

Please sign in to comment.