Skip to content

Fix Visibility settings #783

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

Merged
merged 4 commits into from
Apr 25, 2025
Merged

Fix Visibility settings #783

merged 4 commits into from
Apr 25, 2025

Conversation

wk9874
Copy link
Collaborator

@wk9874 wk9874 commented Apr 25, 2025

Fix Visibility settings

Issue: #777, #779

Python Version(s) Tested: 3.10

Operating System(s): Ubuntu

📝 Summary

Visibility settings in run.init weren't applying correctly due to it not using the Visibility class

🔍 Diagnosis

James spotted this while doing FDS sims for Interflam

🔄 Changes

Just changed visibility to change using the Visibility class instead of a dict update. Also fix show_shared to default to True in client.get_runs). Added new visibility tests

Setting user visibilities test is failing, but this is expected as it is a server side bug

✔️ Checklist

  • Unit and integration tests passing.
  • Pre-commit hooks passing.
  • Quality checks passing.

@james-panayis
Copy link
Collaborator

Great to have this working now!

@james-panayis james-panayis merged commit f1bde56 into dev Apr 25, 2025
11 of 17 checks passed
@kzscisoft kzscisoft deleted the wk9874/fix_visibility branch May 12, 2025 07:08
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

Successfully merging this pull request may close these issues.

2 participants