-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[externals] Rename dagster-external -> dagster-externals
[INTERNAL_BRANCH=sean/externals-rename-external]
- Loading branch information
Showing
38 changed files
with
97 additions
and
87 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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
python_modules/dagster-external/dagster_external_tests/test_version.py
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# dagster-externals | ||
|
||
The docs for `dagster-externals ` can be found | ||
[here](https://docs.dagster.io/_apidocs/libraries/dagster-externals). |
19 changes: 19 additions & 0 deletions
19
python_modules/dagster-externals/dagster_externals/__init__.py
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from dagster_externals._context import ( | ||
ExternalExecutionContext as ExternalExecutionContext, | ||
init_dagster_externals as init_dagster_externals, | ||
is_dagster_orchestration_active as is_dagster_orchestration_active, | ||
) | ||
from dagster_externals._protocol import ( | ||
DAGSTER_EXTERNALS_DEFAULT_INPUT_FILENAME as DAGSTER_EXTERNALS_DEFAULT_INPUT_FILENAME, | ||
DAGSTER_EXTERNALS_DEFAULT_OUTPUT_FILENAME as DAGSTER_EXTERNALS_DEFAULT_OUTPUT_FILENAME, | ||
DAGSTER_EXTERNALS_ENV_KEYS as DAGSTER_EXTERNALS_ENV_KEYS, | ||
ExternalDataProvenance as ExternalDataProvenance, | ||
ExternalExecutionContextData as ExternalExecutionContextData, | ||
ExternalExecutionExtras as ExternalExecutionExtras, | ||
ExternalPartitionKeyRange as ExternalPartitionKeyRange, | ||
ExternalTimeWindow as ExternalTimeWindow, | ||
Notification as Notification, | ||
) | ||
from dagster_externals._util import ( | ||
DagsterExternalError as DagsterExternalError, | ||
) |
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
8 changes: 4 additions & 4 deletions
8
...gster-external/dagster_external/params.py → ...er-externals/dagster_externals/_params.py
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
2 changes: 1 addition & 1 deletion
2
...dagster-external/dagster_external/util.py → ...ster-externals/dagster_externals/_util.py
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...al/dagster_external_tests/test_context.py → ...s/dagster_externals_tests/test_context.py
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
5 changes: 5 additions & 0 deletions
5
python_modules/dagster-externals/dagster_externals_tests/test_version.py
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from dagster_externals.version import __version__ | ||
|
||
|
||
def test_version(): | ||
assert __version__ |
File renamed without changes.
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
def get_version() -> str: | ||
version: Dict[str, str] = {} | ||
with open(Path(__file__).parent / "dagster_external/version.py", encoding="utf8") as fp: | ||
with open(Path(__file__).parent / "dagster_externals/version.py", encoding="utf8") as fp: | ||
exec(fp.read(), version) | ||
|
||
return version["__version__"] | ||
|
@@ -16,13 +16,13 @@ def get_version() -> str: | |
# dont pin dev installs to avoid pip dep resolver issues | ||
pin = "" if ver == "1!0+dev" else f"=={ver}" | ||
setup( | ||
name="dagster_external", | ||
name="dagster-externals", | ||
version=get_version(), | ||
author="Elementl", | ||
author_email="[email protected]", | ||
license="Apache-2.0", | ||
description="Toolkit for Dagster integrations with transform logic outside of Dagster", | ||
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-external", | ||
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-externals", | ||
classifiers=[ | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
|
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
4 changes: 2 additions & 2 deletions
4
...n_modules/dagster-test/dagster_test/toys/external_execution/numbers_example/number_sum.py
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
4 changes: 2 additions & 2 deletions
4
python_modules/dagster-test/dagster_test/toys/external_execution/numbers_example/number_x.py
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
4 changes: 2 additions & 2 deletions
4
python_modules/dagster-test/dagster_test/toys/external_execution/numbers_example/number_y.py
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
2 changes: 1 addition & 1 deletion
2
python_modules/dagster/dagster/_core/external_execution/context.py
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
2 changes: 1 addition & 1 deletion
2
python_modules/dagster/dagster/_core/external_execution/resource.py
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.