dagster-openai 0.25.13__py3-none-any.whl → 0.26.0__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-openai might be problematic. Click here for more details.

@@ -13,7 +13,7 @@ from dagster import (
13
13
  InitResourceContext,
14
14
  OpExecutionContext,
15
15
  )
16
- from dagster._annotations import experimental, public
16
+ from dagster._annotations import public
17
17
  from dagster._core.errors import DagsterInvariantViolationError
18
18
  from openai import Client
19
19
  from pydantic import Field, PrivateAttr
@@ -49,7 +49,6 @@ def _add_to_asset_metadata(
49
49
 
50
50
 
51
51
  @public
52
- @experimental
53
52
  def with_usage_metadata(
54
53
  context: Union[AssetExecutionContext, OpExecutionContext], output_name: Optional[str], func
55
54
  ):
@@ -144,7 +143,6 @@ def with_usage_metadata(
144
143
 
145
144
 
146
145
  @public
147
- @experimental
148
146
  class OpenAIResource(ConfigurableResource):
149
147
  """This resource is wrapper over the
150
148
  `openai library <https://github.com/openai/openai-python>`_.
dagster_openai/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.25.13"
1
+ __version__ = "0.26.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagster-openai
3
- Version: 0.25.13
3
+ Version: 0.26.0
4
4
  Summary: An OpenAI client resource for interacting with OpenAI API.
5
5
  Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-openai
6
6
  Author: Dagster Labs
@@ -12,6 +12,6 @@ Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: License :: OSI Approved :: Apache Software License
13
13
  Classifier: Operating System :: OS Independent
14
14
  License-File: LICENSE
15
- Requires-Dist: dagster ==1.9.13
15
+ Requires-Dist: dagster ==1.10.0
16
16
  Requires-Dist: openai
17
17
 
@@ -0,0 +1,8 @@
1
+ dagster_openai/__init__.py,sha256=ErCapqG5Po_PhWCQHtz7Qo9xTHoC_g5A8WjY-CrOpxk,298
2
+ dagster_openai/resources.py,sha256=0ObX3jHKkCbtvBvwk9CWeiYwv__r0FPnNEnqZqqyi24,15281
3
+ dagster_openai/version.py,sha256=S1dNBNSmHJkAHkq1vL1Yg-dFpQk0fri_CstNlL1u5qw,23
4
+ dagster_openai-0.26.0.dist-info/LICENSE,sha256=HTQpxmWIpPec-pUSMBAj0wR44OnVdRmrWygQ-GUuVzQ,11349
5
+ dagster_openai-0.26.0.dist-info/METADATA,sha256=A0sQzqfw73d74H_Z4S2j9Dh7ShEQMkajA8KVTct8Jb8,644
6
+ dagster_openai-0.26.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
+ dagster_openai-0.26.0.dist-info/top_level.txt,sha256=-66JR-jWfULrYSXUk2AfOdXl8cQyyldzBvBmEQdKn9o,15
8
+ dagster_openai-0.26.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- dagster_openai/__init__.py,sha256=ErCapqG5Po_PhWCQHtz7Qo9xTHoC_g5A8WjY-CrOpxk,298
2
- dagster_openai/resources.py,sha256=iZdKLX6EpDmkkmGlv9IPjPI53IOi3O0F_oJU4xqG7c0,15323
3
- dagster_openai/version.py,sha256=ih5sIvnYqe1aPu1IeO-5-dvSG0UN-jBMQeAgYLrnKYw,24
4
- dagster_openai-0.25.13.dist-info/LICENSE,sha256=HTQpxmWIpPec-pUSMBAj0wR44OnVdRmrWygQ-GUuVzQ,11349
5
- dagster_openai-0.25.13.dist-info/METADATA,sha256=ajGANeaoTjJoz90FYbgG-Z00UpYPZcffGEJVXvpkbVs,645
6
- dagster_openai-0.25.13.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
- dagster_openai-0.25.13.dist-info/top_level.txt,sha256=-66JR-jWfULrYSXUk2AfOdXl8cQyyldzBvBmEQdKn9o,15
8
- dagster_openai-0.25.13.dist-info/RECORD,,