dagster-wandb 0.20.14__py3-none-any.whl → 0.20.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dagster-wandb might be problematic. Click here for more details.

@@ -479,7 +479,7 @@ class ArtifactsIOManager(IOManager):
479
479
 
480
480
  if len(output) == 1:
481
481
  # If there's only one partition, return the value directly
482
- return list(output.values())[0]
482
+ return next(iter(output.values()))
483
483
 
484
484
  return output
485
485
 
@@ -699,19 +699,15 @@ def wandb_artifacts_io_manager(context: InitResourceContext):
699
699
  wandb_run_name = None
700
700
  wandb_run_id = None
701
701
  wandb_run_tags = None
702
+ base_dir = (
703
+ context.instance.storage_directory() if context.instance else os.environ["DAGSTER_HOME"]
704
+ )
702
705
  cache_duration_in_minutes = None
703
706
  if context.resource_config is not None:
704
707
  wandb_run_name = context.resource_config.get("run_name")
705
708
  wandb_run_id = context.resource_config.get("run_id")
706
709
  wandb_run_tags = context.resource_config.get("run_tags")
707
- base_dir = context.resource_config.get(
708
- "base_dir",
709
- (
710
- context.instance.storage_directory()
711
- if context.instance
712
- else os.environ["DAGSTER_HOME"]
713
- ),
714
- )
710
+ base_dir = context.resource_config.get("base_dir", base_dir)
715
711
  cache_duration_in_minutes = context.resource_config.get("cache_duration_in_minutes")
716
712
 
717
713
  if "PYTEST_CURRENT_TEST" in os.environ:
dagster_wandb/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.20.14"
1
+ __version__ = "0.20.16"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagster-wandb
3
- Version: 0.20.14
3
+ Version: 0.20.16
4
4
  Summary: Package for wandb Dagster components.
5
5
  Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-wandb
6
6
  Author: Dagster Labs
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: License :: OSI Approved :: Apache Software License
14
14
  Classifier: Operating System :: OS Independent
15
15
  License-File: LICENSE
16
- Requires-Dist: dagster (==1.4.14)
16
+ Requires-Dist: dagster (==1.4.16)
17
17
  Requires-Dist: wandb (<0.15.5,>=0.13.5)
18
18
  Provides-Extra: dev
19
19
  Requires-Dist: cloudpickle ; extra == 'dev'
@@ -1,16 +1,16 @@
1
1
  dagster_wandb/__init__.py,sha256=-rUAd_xLZvcoA6d7sERb_xxkIThb0QiFan61C6EB8A0,613
2
- dagster_wandb/io_manager.py,sha256=kNBdPJViBhlgNQ0bQsS0yv7BOX8C58UwI2qml-PVglM,34037
2
+ dagster_wandb/io_manager.py,sha256=RY11u_Dt6TkaW9dVZRXo7P8AK4ZAdJO_xVb19cP90vs,33981
3
3
  dagster_wandb/resources.py,sha256=uWqNCxoiQaM6NeavJxKul8Qu_pkSmKb-bqbEDOmghd8,2272
4
4
  dagster_wandb/types.py,sha256=nB61MN1Lsny91Ahli16WPC628jTlC0V95tI6DsXW3y0,774
5
- dagster_wandb/version.py,sha256=dwa8qtOAQ_foCjqeR-nSwW2rcU9hHpVmf_wwOQ5ySDQ,24
5
+ dagster_wandb/version.py,sha256=H2uay8S6RdWs70UCbs9-a4OHr3MS43oLxQlRC2LPME4,24
6
6
  dagster_wandb/launch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  dagster_wandb/launch/configs.py,sha256=bA7x8LfE2yc3UEK3eUM_NlCgix7cUY4ziISiRaVKjww,4425
8
8
  dagster_wandb/launch/ops.py,sha256=R0mAyqsxv2G4cvkHiRPvuXh6IXIsB6ATFUatm5pgUXA,5192
9
9
  dagster_wandb/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  dagster_wandb/utils/errors.py,sha256=Ow4xy8n1pZp6_RC_WzxQVrD9FCEtc_mnF6k7q8jMT2Y,2744
11
11
  dagster_wandb/utils/pickling.py,sha256=-c3TXZqFnWEZ4zbxY3Odba5HIAjlUS3YpSEeZ1Icpuw,7890
12
- dagster_wandb-0.20.14.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
13
- dagster_wandb-0.20.14.dist-info/METADATA,sha256=N7DYKvGnx9U8_yYLYuw8IiylwHFi_B1DTzBF7RtS6YI,871
14
- dagster_wandb-0.20.14.dist-info/WHEEL,sha256=p46_5Uhzqz6AzeSosiOnxK-zmFja1i22CrQCjmYe8ec,92
15
- dagster_wandb-0.20.14.dist-info/top_level.txt,sha256=eBR6kNspYqHANL4Hy1aXRhq-pYZmPhFg_xKui2AS8cE,14
16
- dagster_wandb-0.20.14.dist-info/RECORD,,
12
+ dagster_wandb-0.20.16.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
13
+ dagster_wandb-0.20.16.dist-info/METADATA,sha256=35EWyStjb5Yj4HcwutrsDKX8e9rj3tynWbkXMexZMGI,871
14
+ dagster_wandb-0.20.16.dist-info/WHEEL,sha256=p46_5Uhzqz6AzeSosiOnxK-zmFja1i22CrQCjmYe8ec,92
15
+ dagster_wandb-0.20.16.dist-info/top_level.txt,sha256=eBR6kNspYqHANL4Hy1aXRhq-pYZmPhFg_xKui2AS8cE,14
16
+ dagster_wandb-0.20.16.dist-info/RECORD,,