-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use
None
for unknown lengths (1 of 2) (#2168)
* wip: none shape items * fix: remaining `ensure_known_scalar` * refactor: use new shape aPI * test: remove skips * fix: use `unset` for length in `RecordArray` * fix: use `unionarray.length` * fix: uses of `length=None` for RecordArray * refactor: cleanup shape handling * fix:bugs in form association * refactor: small type hint * refactor: cleanup typing, shape handling * refactor: remove `UnknownLength` * feat: update compatability shim * fix: type alias * refactor: rename `as_shape_item` to `scalar_as_shape_item` * refactor: remove redundant line * fix: warn if `to_list` called with no data * refactor: add return type, ensure `x-y >= 0` * fix: deprecate `length=None` for `RecordArray` * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
82536ce
commit 71875df
Showing
25 changed files
with
872 additions
and
636 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.