Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c562c66
[R p] Cover azul.types with mypy (#6821)
hannes-ucsc Jan 14, 2025
5413cee
Add one use of Self
hannes-ucsc Jan 14, 2025
4eed103
[p] Cover azul.collection with mypy (#6821)
hannes-ucsc Jan 14, 2025
b181584
[p] Cover azul.args and azul.attrs with mypy (#6821)
hannes-ucsc Jan 14, 2025
76ad657
[p] Cover azul.auth with mypy (#6821)
hannes-ucsc Jan 14, 2025
51ada98
[p] Cover azul.azulclient with mypy (#6821)
hannes-ucsc Jan 14, 2025
4236d43
[p] Cover azul.openapi with mypy (#6821)
hannes-ucsc Jan 14, 2025
79fc84d
Rename schema.TYPE to schema.Form
hannes-ucsc Jan 15, 2025
5b9b0b9
Rename schema.make_type to schema.make and schema.schema
hannes-ucsc Jan 15, 2025
49c9221
Rename schema.in_range to schema.range
hannes-ucsc Jan 15, 2025
8330b62
Rename schema.with_default to schema.default
hannes-ucsc Jan 15, 2025
f244f5f
Inline schema.properties()
hannes-ucsc Jan 15, 2025
d287d88
Unify schema.object and schema.object_type
hannes-ucsc Jan 16, 2025
0b70af5
Replace Union and Optional
hannes-ucsc Jan 19, 2025
80456cc
Make some assertions requirements
hannes-ucsc Jan 19, 2025
759899d
Add overloads for azul.open_resource
hannes-ucsc Jan 19, 2025
21c2d5d
Fix bug in MutableCompositeJSON
hannes-ucsc Jan 19, 2025
23cd3c7
Rearrange JSON types; extract type alias for JSON arrays
hannes-ucsc Jan 19, 2025
441b565
Cosmetics
hannes-ucsc Jan 19, 2025
355ac77
Rename method_spec to spec
hannes-ucsc Jan 19, 2025
6cbbfd5
Reorder method args
hannes-ucsc Jan 19, 2025
8c526f9
[R] Fix: AttributeError for Chalice.lambda_context and .current_reque…
hannes-ucsc Jan 19, 2025
9d8c4bb
Simplify indexer action enum
hannes-ucsc Jan 19, 2025
4c6e088
[R p] Cover `azul.chalice` with mypy (#6821)
hannes-ucsc Jan 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix bug in MutableCompositeJSON
hannes-ucsc committed Jan 20, 2025
commit 21c2d5d8ff0181c4d5966e9b4ec0ab2f8b5f6a73
2 changes: 1 addition & 1 deletion src/azul/types.py
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
type AnyMutableJSON = list[AnyMutableJSON] | dict[str, AnyMutableJSON] | PrimitiveJSON
type MutableJSON = dict[str, AnyMutableJSON]
type MutableJSONs = list[MutableJSON]
type MutableCompositeJSON = MutableJSON | list[AnyJSON]
type MutableCompositeJSON = MutableJSON | list[AnyMutableJSON]
type MutableFlatJSON = dict[str, PrimitiveJSON]



Unchanged files with check annotations Beta

@overload
def adict[K, V](seq: Mapping[K, V] | Iterable[tuple[K, V]] | None = None,
/
) -> dict[K, V]: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
@overload
def adict[K, V](seq: Mapping[str, V] | Iterable[tuple[str, V]] | None = None,
/,
**kwargs: V
) -> dict[str, V]: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
def adict(seq=None, /, **kwargs):