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

feat: Adds ThemeConfig (TypedDict) #3536

Merged
merged 165 commits into from
Sep 22, 2024
Merged

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    7b324d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0325667 View commit details
    Browse the repository at this point in the history
  3. perf: Use more appropriate data structures in codegen

    Mostly avoiding use `list` unless properties of it are needed.
    Also using `set` comprehensions
    dangotbanned committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    832fd72 View commit details
    Browse the repository at this point in the history
  4. refactor: Reduce length and complexity of `get_python_type_representa…

    …tion`
    
    Provides all existing functionality.
    Adds `use_concrete`, for upcoming `TypedDict` changes
    dangotbanned committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    549f42c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1b6e008 View commit details
    Browse the repository at this point in the history
  6. refactor(perf): Rewrite generate_vegalite_mark_mixin

    - Adapted to new `get_python_type_representation`
    - Avoid nested listcomp
    - Avoid repeated sorting
    - Moved the generic parts to `_generate_sig_args`
    dangotbanned committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    148c913 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    de66450 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8fa63de View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ba08256 View commit details
    Browse the repository at this point in the history
  10. refactor: Rename get_python_type_representation -> to_type_repr

    Will be adding a docstring with more detail
    dangotbanned committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    5f35705 View commit details
    Browse the repository at this point in the history
  11. refactor: Remove redundant is_object branch

    Handled by `jsonschema_to_python_types`
    dangotbanned committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    cb8aefc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    193e493 View commit details
    Browse the repository at this point in the history
  13. feat(typing): Temp solution for dict in TypedDict

    See comments
    dangotbanned committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    b2db86c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    566cd05 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    aafe73f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f457a92 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5d1f2a5 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    40cd566 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    49633be View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    9c51d43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4f7ede View commit details
    Browse the repository at this point in the history
  3. refactor: Replace is_value() case in codegen.get_args()

    Was the only place `SchemaInfo.is_value` had been called.
    Planning to use that method to identify schemas with **only** 1 property, which is named *value*.
    
    This will be much more useful, in allowing generic `TypedDict`(s) like https://github.com/vega/altair/blob/b996fa45d66c94266b97475eab0723b1841436cf/altair/vegalite/v5/api.py#L644
    dangotbanned committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    a8ac7ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e4f62ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f23880f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a9c8b99 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    184f2b6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    91dacf8 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. feat: Adds SchemaInfo.is_type_alias

    See doc for examples
    
    vega#3536 (comment)
    dangotbanned committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    ecf7fd5 View commit details
    Browse the repository at this point in the history
  2. build: run generate-schema-wrapper

    Excludes `FontStyle`, `SymbolShape` aliases for `str`
    
    vega#3536 (comment), vega#3536 (comment)
    dangotbanned committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    f4cb0d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9a738e View commit details
    Browse the repository at this point in the history
  4. feat: Adds utils.import_typing_extensions

    Standardising version-gated `typing` imports
    dangotbanned committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    fcb9469 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7eea237 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3455fd7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    794e9d5 View commit details
    Browse the repository at this point in the history
  8. fix: Move *TODO* location

    It is supposed to describe the top-level config
    dangotbanned committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    859e998 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f09a14c View commit details
    Browse the repository at this point in the history
  10. feat(typing): Adds OverlayMarkDefKwds

    Sufficiently complex to require a `TypedDict`
    
    vega#3536 (comment)
    dangotbanned committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    da516c1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fc10816 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ff1a3f5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3b32cf7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7b1875d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8ff7b00 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a59a7bd View commit details
    Browse the repository at this point in the history
  17. feat: Use a dynamic ClassVar for remapping titles

    Previously required maintaining two sets of definitions
    dangotbanned committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    d68fcdb View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e5c4b7f View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. fix: Include ArgInfo.required in TypedDict(s)

    Had not been needed so far, but `...GradientKwds` was missing `gradient`, `stops`
    dangotbanned committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    0c63dc7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46fa848 View commit details
    Browse the repository at this point in the history
  3. ci: Remove old dependency m2r from mypy

    Not needed since vega#3506
    dangotbanned committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    d3f2898 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    db0419f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    da16406 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7d3eac9 View commit details
    Browse the repository at this point in the history
  7. feat(typing): Temporarily duplicate (vega#3538)

    Still need the changes here prior to that merging. It solves issues in `_config.py` as well.
    vega#3538
    dangotbanned committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    4fd7628 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1 from vega/remove-m2r-mypy

    ci: Remove old dependency `m2r` from `mypy`
    dangotbanned authored Aug 15, 2024
    Configuration menu
    Copy the full SHA
    5a3f9ee View commit details
    Browse the repository at this point in the history
  9. fix: Exclude titles w/ SchemaInfo.additionalProperties

    Avoids the `DateTime` properties `Day`, `Month`
    dangotbanned committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    0ebc6bc View commit details
    Browse the repository at this point in the history
  10. feat: Fill out MANUAL_DEFS with all remaining targets

    Will serve as a baseline for any replacement solution (provided the schema does not change first).
    dangotbanned committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    a5e9442 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9b6c4d6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e2f0ed3 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f045dc6 View commit details
    Browse the repository at this point in the history
  14. Merge & re-build

    dangotbanned committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    d435380 View commit details
    Browse the repository at this point in the history
  15. feat(typing): Finish ThemeConfig hierarchy

    A user should now be able to specify a theme, with full type-checking - without needing to import any of the lower-level objects.
    dangotbanned committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    bb99389 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    67dc9df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b24dbe2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    964745a View commit details
    Browse the repository at this point in the history
  4. refactor: Tidy up generate_schema_wrapper.py

    - Adds and reuses `load_schema`
    - Factor out `_add_shorthand_property_to_field_encodings`
    - perf: Share non-modified shorthand dict in `load_schema_with_shorthand_properties`
    - Improve annotations
    - Remove some blank lines
    dangotbanned committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    3c9aab5 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. perf: Reprioritise unreachable info.allOf

    Appears to be some that used to be in the schema, but now is not.
    I've kept around with an error raised if it gets triggered in the future.
    dangotbanned committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    0be9f5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    882013c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2781969 View commit details
    Browse the repository at this point in the history
  4. refactor(typing): Remove some None cases for SchemaInfo

    Using an empty string is consistent with `dict`, `list` properties.
    dangotbanned committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    9e1c8c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    b6fff04 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Configuration menu
    Copy the full SHA
    cc6e9bd View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    9c94918 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b3202b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11280df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6b4923 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    a5bdd47 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    068c484 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Configuration menu
    Copy the full SHA
    9e35e30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2efe2ea View commit details
    Browse the repository at this point in the history
  3. feat(typing): Enable type checking on tools/

    Also fixes some warnings only present for `mypy`, but not `pyright`.
    dangotbanned committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    d922e4b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1330708 View commit details
    Browse the repository at this point in the history
  5. refactor: Make SchemaInfo effectively immutable

    This was the only instance where a modification occured after init.
    The result of this is identical, simply moves the overwrite to the `dict` constructor.
    
    vega#3536 (comment)
    dangotbanned committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    230d625 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a67755e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ae23b23 View commit details
    Browse the repository at this point in the history
  8. ci: Add patterns for pyright

    Duplicate of vega@c594e55
    dangotbanned committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    f62c82a View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. perf: Use cheaper comparison for SchemaInfo.__eq__

    Slightly faster (1.3s -> 1.2s) during deep recursion.
    Also a lot easier to understand
    
    vega#3536 (comment)
    dangotbanned committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    a70f259 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e40768e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6334db0 View commit details
    Browse the repository at this point in the history
  4. build: run generate-schema-wrapper

    **Important**:
    The diff here is due to the introduction of sorting only.
    
    vega#3536 (comment), vega#3536 (comment)
    dangotbanned committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    2d89ad7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0af1cd1 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. refactor: Un-special-case Dict, include in SchemaInfo.is_type_alias

    The schema here is unique and aligns (conceptually) with the excluded types that fell under this rule
    dangotbanned committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    2670e3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6926973 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    836fc00 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba70325 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d63b8a6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ebfdbd4 View commit details
    Browse the repository at this point in the history
  7. refactor: Simplify generate_config_typed_dicts

    - All of this logic is now handled elsewhere.
    - Updated some names to be more consistent
    dangotbanned committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    96a7460 View commit details
    Browse the repository at this point in the history
  8. docs: Link to discussion for unresolvable issue

    Closing threads on this, leaving comments for future reference.
    Cannot see a solution for this
    dangotbanned committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    b3a7fb3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    aae8e6e View commit details
    Browse the repository at this point in the history
  10. feat(typing): Accept an Iterator in indent_docstring

    Simply collects the lines if needed
    dangotbanned committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    732b31d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5c33b2c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0a04d4d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7bb0b8e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b486f10 View commit details
    Browse the repository at this point in the history
  15. test(typing): Adds test_theme_config_typing

    Pushing with errors for discussion
    dangotbanned committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    81349ea View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    b43deb5 View commit details
    Browse the repository at this point in the history
  2. test: Remove Vega-only properties from theme tests

    "group", "path", "shape", "symbol" all appear in a `vega-themes` definition.
    Haven't found any documentation on this, for `vega-lite`.
    
    All of these properties are not mentioned in the `Config` schema
    dangotbanned committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    ff364a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bf36b69 View commit details
    Browse the repository at this point in the history
  4. fix: Remove Vega-only properties from vendored vega-themes.json

    The fix here should allow these properties in the future - were they to become available in `Config`
    
    https://github.com/vega/altair/actions/runs/10789757058/job/29923430898?pr=3536
    dangotbanned committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    79804ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0bdfa72 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    427a0dd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6f13b0b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e564ca5 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    73f6b25 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab41cb7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1dc4c05 View commit details
    Browse the repository at this point in the history
  4. refactor: Reuse finalize_type_reprs

    - Extracted final steps of ``SchemaInfo.to_type_repr``.
    - Improved docs
    dangotbanned committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    5315a3d View commit details
    Browse the repository at this point in the history
  5. chore: Rename init_subclass_args -> metaclass_kwds

    The latter is more accurate, there is no `__init__subclass__` involved - despite the similar syntax
    dangotbanned committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    c816ca3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7c55a35 View commit details
    Browse the repository at this point in the history
  7. refactor: Move process_description to tools.schemapi.utils

    Suspect this might have been used more dynamically in the past.
    Currently doesn't make sense defining across 3 files
    dangotbanned committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    44624ef View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b5e54d8 View commit details
    Browse the repository at this point in the history
  9. refactor: Include process_description in deep_description

    Every usage of the property is wrapped in the call.
    No longer need to import in `generate_schema_wrapper.py`
    dangotbanned committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    6d744f8 View commit details
    Browse the repository at this point in the history
  10. perf: Replace relative links on entire description

    Previously was len(description.split()) times
    dangotbanned committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    dd05abd View commit details
    Browse the repository at this point in the history
  11. refactor(perf): Compile patterns and tidy up fix_docstring_issues

    Still don't fully understand why this is written so verbosely
    dangotbanned committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    bed1285 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    025aae5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9bc28d4 View commit details
    Browse the repository at this point in the history
  14. refactor: Remove unused ruff_format_str

    Was replaced with `ruff_write_lint_format_str` in 485eae5
    dangotbanned committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    626401e View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. refactor: Factor out _signature_args, enhance ArgInfo.iter_args

    - Moved constant parts of mark methods to the template
    dangotbanned committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    a5c0567 View commit details
    Browse the repository at this point in the history
  2. refactor: Add SchemaInfo.from_refname constructor

    Replaces all instances that use this pattern
    dangotbanned committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    36fdaa6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1b236f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    160ee63 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7e85b36 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    36ebca6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7b7390a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    af7c17c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    072f512 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    007f373 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2afdc19 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c70eb6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ef3df18 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4f3c0e7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ff01520 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0b8eda8 View commit details
    Browse the repository at this point in the history
  8. fix(typing): Use a single TypeVar for RowCol

    If both properties are specified, they must always be of the same type.
    dangotbanned committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    80b21d5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    810921c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    79fb2fb View commit details
    Browse the repository at this point in the history
  11. fix(typing): Satisfy mypy on utils.core.update_nested

    This is due to a `TypedDict` being typed as `Mapping` instead of `MutableMapping` (like `dict`).
    At runtime it is a `dict`, so I'm not making any runtime changes - this will have to do
    dangotbanned committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c8ccb05 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    26c6ede View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4933e54 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2847293 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f386052 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ed24ada View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    ddf4636 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0c8f9e2 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    bf29786 View commit details
    Browse the repository at this point in the history
  2. Update altair/vegalite/v5/schema/_typing.py

    Co-authored-by: Stefan Binder <[email protected]>
    dangotbanned and binste authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    cafd696 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0bb7a86 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffb3214 View commit details
    Browse the repository at this point in the history
  5. refactor: Reuse literals, add _typing dicts to _config.__all__

    Trying to make this easier to maintain in the future
    
    vega#3536 (comment)
    dangotbanned committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    aaffebd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    12b6410 View commit details
    Browse the repository at this point in the history
  7. docs: Use :class: directive on TypedDict(s)

    Hopefully this will mean we can skip adding individual doc pages for each, just reuse the existing ones
    
    vega#3536 (comment)
    dangotbanned committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    6e4af95 View commit details
    Browse the repository at this point in the history
  8. fix: Define typing as a package to support submodules

    The usage I described in the description was not actually possible:
    
    >- The top-level object `ThemeConfig` is exported to `altair.typing`> - All others are accessible via `altair.typing.theme`.
    
    This resolves the `ModuleNotFoundError` that would get raised when trying this
    dangotbanned committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    d4bd6db View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    8db4469 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93334b7 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Configuration menu
    Copy the full SHA
    8519444 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. Configuration menu
    Copy the full SHA
    b36519f View commit details
    Browse the repository at this point in the history