-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* version * init * mypy * Apply suggestions from code review
- Loading branch information
Showing
6 changed files
with
11 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,11 @@ jobs: | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | ||
|
||
check-typing: | ||
uses: Lightning-AI/utilities/.github/workflows/[email protected] | ||
# TODO: switch to main after fix lends | ||
uses: Lightning-AI/utilities/.github/workflows/check-typing.yml@ci/mypy-dir | ||
with: | ||
actions-ref: v0.10.1 | ||
actions-ref: ci/mypy-dir | ||
source-dir: "" | ||
|
||
check-schema: | ||
uses: Lightning-AI/utilities/.github/workflows/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
|
||
import time | ||
|
||
__version__ = "0.2.0.dev" | ||
__author__ = "Lightning AI et al." | ||
__author_email__ = "[email protected]" | ||
__license__ = "Apache-2.0" | ||
|
@@ -39,5 +40,3 @@ | |
"__license__", | ||
"__version__", | ||
] | ||
|
||
__version__ = "0.2.0.dev" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
from lightning_utilities.core.imports import RequirementCache | ||
|
||
from lightning_data.__about__ import * # noqa: F403 | ||
from lightning_data.processing.functions import map, optimize, walk | ||
from lightning_data.streaming.combined import CombinedStreamingDataset | ||
from lightning_data.streaming.dataloader import StreamingDataLoader | ||
from lightning_data.streaming.dataset import StreamingDataset | ||
|
||
__all__ = [ | ||
"LightningDataset", | ||
"StreamingDataset", | ||
"CombinedStreamingDataset", | ||
"StreamingDataLoader", | ||
"LightningIterableDataset", | ||
"map", | ||
"optimize", | ||
"walk", | ||
] | ||
|
||
if RequirementCache("lightning_sdk"): | ||
from lightning_sdk import Machine # noqa: F401 | ||
|
||
__all__.append("Machine") | ||
__all__ + ["Machine"] |
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