-
Notifications
You must be signed in to change notification settings - Fork 793
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
feat: Reimplement expr
as a class that is understood by IDEs
#3466
Commits on Jul 9, 2024
-
fix: Use absolute imports explicitly
Fixes the mypy issue referenced in `alt.__init__.py`
Configuration menu - View commit details
-
Copy full SHA for 0813874 - Browse repository at this point
Copy the full SHA 0813874View commit details -
refactor: remove dynamic globals manipulation
The results of `_populate_namespace` were only visible in a `IPython` environment
Configuration menu - View commit details
-
Copy full SHA for bcb8f1d - Browse repository at this point
Copy the full SHA bcb8f1dView commit details -
feat: Reimplement
expr
as a class w/ identicial semantics as the si……ngleton - all `ConstExpression`s are now read-only properties stored in a metaclass - `expr` subclasses `ExprRef`, replacing the `__call__` w/ `__new__` - No instances of `expr` are ever created - All `FunctionExpression`s are now classmethods - Each `Expression` can now be referenced in autocomplete, without needing `IPython`/`Jupyter` - Docstrings have been reformatted to be compatible with `sphinx` - Broken links in docstrings fixed (e.g. for d3) - class-level doc for `expr`, with references & doctest
Configuration menu - View commit details
-
Copy full SHA for ec32938 - Browse repository at this point
Copy the full SHA ec32938View commit details -
fix: use absolute imports in
test_expr
Previously relied on the dynamic globals
Configuration menu - View commit details
-
Copy full SHA for b634913 - Browse repository at this point
Copy the full SHA b634913View commit details -
test(perf): rewrite
expr
tests to run in parallelPreviously 2 tests, now 170+
Configuration menu - View commit details
-
Copy full SHA for 02fccf5 - Browse repository at this point
Copy the full SHA 02fccf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77a2073 - Browse repository at this point
Copy the full SHA 77a2073View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe09616 - Browse repository at this point
Copy the full SHA fe09616View commit details -
docs: adds
alt.expr
to API ReferenceUses the section heading proposed in vega#3427 (comment) Expands on vega#2904
Configuration menu - View commit details
-
Copy full SHA for 8a80357 - Browse repository at this point
Copy the full SHA 8a80357View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b7a2b3 - Browse repository at this point
Copy the full SHA 2b7a2b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1182d4 - Browse repository at this point
Copy the full SHA e1182d4View commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 34430a0 - Browse repository at this point
Copy the full SHA 34430a0View commit details
Commits on Jul 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c360965 - Browse repository at this point
Copy the full SHA c360965View commit details -
Configuration menu - View commit details
-
Copy full SHA for 448f1cf - Browse repository at this point
Copy the full SHA 448f1cfView commit details
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4b2e0c2 - Browse repository at this point
Copy the full SHA 4b2e0c2View commit details
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ed6a819 - Browse repository at this point
Copy the full SHA ed6a819View commit details -
Configuration menu - View commit details
-
Copy full SHA for a33d075 - Browse repository at this point
Copy the full SHA a33d075View commit details -
test: make
expr
doctest testableI left this out initially, but by adding static `Parameter` names it is now possible
Configuration menu - View commit details
-
Copy full SHA for f4e7b65 - Browse repository at this point
Copy the full SHA f4e7b65View commit details
Commits on Jul 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7c29281 - Browse repository at this point
Copy the full SHA 7c29281View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7185238 - Browse repository at this point
Copy the full SHA 7185238View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08448d1 - Browse repository at this point
Copy the full SHA 08448d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65b527a - Browse repository at this point
Copy the full SHA 65b527aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f78c401 - Browse repository at this point
Copy the full SHA f78c401View commit details -
Configuration menu - View commit details
-
Copy full SHA for ece2738 - Browse repository at this point
Copy the full SHA ece2738View commit details