Skip to content

Remove GraphQL/web experiment support#79

Merged
yehudarav merged 1 commit intomasterfrom
remove-graphql-web
Apr 2, 2026
Merged

Remove GraphQL/web experiment support#79
yehudarav merged 1 commit intomasterfrom
remove-graphql-web

Conversation

@yehudarav
Copy link
Copy Markdown
Collaborator

Summary

Removed webExperimentFactory, webExperiment, getExperimentSetup, and all GraphQL (gql) dependencies.

Code

  • dataObjectsFactory.py — removed webExperimentFactory class (350 lines), gql imports
  • dataObjects.py — removed webExperiment class, client/url properties from all classes, requests/BytesIO imports
  • experimentSetup/__init__.py — removed WEB constant and getExperimentSetup() function
  • argos/__init__.py — removed WEB import
  • Deleted argos/examples/web/ and .ipynb_checkpoints/

Docs

  • Updated 9 documentation pages to remove web/GraphQL references
  • Removed "Loading from Web" swimlane, webExperiment from class diagrams, webExperimentFactory from factory diagrams
  • Changelog left as-is (historical)

Test plan

  • pytest — 99 passed, 10 xfailed
  • mkdocs build — clean build
  • import argos — works, WEB no longer exported

🤖 Generated with Claude Code

Removed webExperimentFactory, webExperiment, and all GraphQL
dependencies from the codebase:

Code changes:
- dataObjectsFactory.py: removed webExperimentFactory class and gql imports
- dataObjects.py: removed webExperiment class, removed client/url
  properties from Experiment/TrialSet/Trial/EntityType, removed
  requests/BytesIO imports, base getImage now raises NotImplementedError,
  base _init_ImageMaps is a no-op (overridden by ExperimentZipFile)
- __init__.py (experimentSetup): removed WEB constant and
  getExperimentSetup function, removed webExperimentFactory import
- __init__.py (argos): removed WEB import

Deleted files:
- argos/examples/web/ (web experiment examples)
- argos/experimentSetup/.ipynb_checkpoints/ (stale checkpoint)

Documentation updates:
- Removed all webExperimentFactory/webExperiment/GraphQL references
  from 9 doc pages (API, architecture, data model, user guide)
- Removed "Loading from Web" swimlane diagram
- Updated class diagrams, dependency matrix, module maps
- Changelog left as-is (historical)

Tests: 99 passed, 10 xfailed (unchanged)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yehudarav yehudarav merged commit d0db93b into master Apr 2, 2026
4 checks passed
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.

1 participant