Skip to content

Unsafe YAML loading #34

@laserkelvin

Description

@laserkelvin

In routines, the YAML loading functionality relies on the out dated API, which apparently is unsafe/unsecure:

tests/test_database.py::test_db_io
  /home/kelvin/Python/PySpecTools/pyspectools/routines.py:92: PendingDeprecationWarning:
  
  
  load will be removed, use
  
    yaml=YAML(typ='unsafe', pure=True)
    yaml.load(...)
  
  instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions