Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

safe load of yaml in xpdAcq #222

Open
sbillinge opened this issue Mar 10, 2022 · 1 comment
Open

safe load of yaml in xpdAcq #222

sbillinge opened this issue Mar 10, 2022 · 1 comment
Milestone

Comments

@sbillinge
Copy link
Member

also check for this in xpdAn, SHED and wherever.

@sbillinge sbillinge added this to the 2022-2 milestone Mar 10, 2022
@st3107
Copy link
Contributor

st3107 commented Sep 9, 2022

I was thinking that this unsafe_load was used for a reason so I didn't change it. Now I know that this is only a historical problem. I will change this in the new release.

    @classmethod
    def from_yaml(cls, f):
        maps = yaml.unsafe_load(f)

@st3107 st3107 modified the milestones: 2022-2, 2023-1 Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants