Skip to content

chore(mypy): add type hints and protocol store to datasetio localfs Provider#5422

Open
Elbehery wants to merge 1 commit intollamastack:mainfrom
Elbehery:mypy-datasetio-localfs
Open

chore(mypy): add type hints and protocol store to datasetio localfs Provider#5422
Elbehery wants to merge 1 commit intollamastack:mainfrom
Elbehery:mypy-datasetio-localfs

Conversation

@Elbehery
Copy link
Copy Markdown
Contributor

@Elbehery Elbehery commented Apr 2, 2026

What does this PR do?

Implement SimpleDatasetStore for DatasetIO protocol and add type annotations:

  • Add SimpleDatasetStore with create, delete, list dataset methods
  • Add type hints for dataset_infos, df, kvstore variables
  • Fix method signatures to use IterRowsRequest and AppendRowsParams
  • Fix variable shadowing (dataset → dataset_json)

pyproject.toml:

  • Remove directory exclude for datasetio/localfs/
  • Add individual file excludes for init.py and config.py
  • Update Section 2 count from 131 to 133 files
  • Update Providers - Inline count from 27 to 29 files

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 2, 2026
…rovider

Implement SimpleDatasetStore for DatasetIO protocol and add type annotations:
- Add SimpleDatasetStore with create, delete, list dataset methods
- Add type hints for dataset_infos, df, kvstore variables
- Fix method signatures to use IterRowsRequest and AppendRowsParams
- Fix variable shadowing (dataset → dataset_json)

pyproject.toml:
- Remove directory exclude for datasetio/localfs/
- Add individual file excludes for __init__.py and config.py
- Update Section 2 count from 131 to 133 files
- Update Providers - Inline count from 27 to 29 files

Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
@Elbehery Elbehery force-pushed the mypy-datasetio-localfs branch from 808e04e to a74900b Compare April 2, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant