auth0-ai-langchain 0.1.2__py3-none-any.whl → 0.2.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 auth0-ai-langchain might be problematic. Click here for more details.

@@ -1,3 +1,4 @@
1
1
  from auth0_ai.interrupts.federated_connection_interrupt import FederatedConnectionError as FederatedConnectionError
2
+ from auth0_ai.interrupts.federated_connection_interrupt import FederatedConnectionInterrupt as FederatedConnectionInterrupt
2
3
  from auth0_ai.authorizers.federated_connection_authorizer import get_access_token_for_connection as get_access_token_for_connection
3
4
  from .federated_connection_authorizer import FederatedConnectionAuthorizer as FederatedConnectionAuthorizer
@@ -1,13 +1,13 @@
1
1
  from auth0_ai.interrupts.auth0_interrupt import Auth0Interrupt
2
2
  from langgraph.errors import GraphInterrupt
3
-
3
+ from langgraph.types import Interrupt
4
4
 
5
5
  def to_graph_interrupt(interrupt: Auth0Interrupt) -> GraphInterrupt:
6
6
  return GraphInterrupt([
7
- {
8
- "value": interrupt,
9
- "when": "during",
10
- "resumable": True,
11
- "ns": [f"auth0AI:{interrupt.__class__.__name__}:{interrupt.code}"]
12
- }
7
+ Interrupt(
8
+ value=interrupt.to_json(),
9
+ when="during",
10
+ resumable=True,
11
+ ns=[f"auth0AI:{interrupt.__class__.__name__}:{interrupt.code}"]
12
+ )
13
13
  ])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: auth0-ai-langchain
3
- Version: 0.1.2
3
+ Version: 0.2.0
4
4
  Summary: This package is an SDK for building secure AI-powered applications using Auth0, Okta FGA and LangChain.
5
5
  License: Apache-2.0
6
6
  Author: Auth0
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
13
  Classifier: Programming Language :: Python :: 3.13
14
- Requires-Dist: auth0-ai (>=0.1.1,<0.2.0)
14
+ Requires-Dist: auth0-ai (>=0.2.0,<0.3.0)
15
15
  Requires-Dist: langchain (>=0.3.20,<0.4.0)
16
16
  Requires-Dist: langchain-core (>=0.3.43,<0.4.0)
17
17
  Requires-Dist: langgraph (>=0.3.25,<0.4.0)
@@ -28,8 +28,7 @@ Description-Content-Type: text/markdown
28
28
 
29
29
  ## Installation
30
30
 
31
- > [!WARNING]
32
- > `auth0-ai-langchain` is currently under development and it is not intended to be used in production, and therefore has no official support.
31
+ > ⚠️ **WARNING**: `auth0-ai-langchain` is currently under development and it is not intended to be used in production, and therefore has no official support.
33
32
 
34
33
  ```bash
35
34
  pip install auth0-ai-langchain
@@ -9,11 +9,11 @@ auth0_ai_langchain/ciba/ciba_graph/types.py,sha256=NZS99vPOgJRc2O7mO5MWj6nAa4RSG
9
9
  auth0_ai_langchain/ciba/ciba_graph/utils.py,sha256=ZPAh0Gs7Hj59_xngg8M7yx1v52dTn2pNpMNRpFKCSII,560
10
10
  auth0_ai_langchain/ciba/ciba_poller_graph.py,sha256=rjlxsTheJrN2J6E5BCE9aVyDO8V7UFhdKyX4KT_hB8k,3828
11
11
  auth0_ai_langchain/ciba/types.py,sha256=gybqYEprklZwcMBgaWFooBsJ1GcNUK8ZWRvAX5PZWdE,177
12
- auth0_ai_langchain/federated_connections/__init__.py,sha256=OJCWTnxYuaWjn8FyFGjCAF7m5Y4Eigkzx7a59atFFFg,356
12
+ auth0_ai_langchain/federated_connections/__init__.py,sha256=nWA0eZj88nkamiZz8Wx-KVZ9r1faNNjWBdQAYfrPO1A,480
13
13
  auth0_ai_langchain/federated_connections/federated_connection_authorizer.py,sha256=ZLF4p7fPTrODOeHWIShfBTsReSy27u73rIp0L_Umhjg,2218
14
14
  auth0_ai_langchain/fga/fga_authorizer.py,sha256=uDaGDSXaxQd1X-2w2zTvnfizMB-DtQ-1G6SIaDNBrho,137
15
- auth0_ai_langchain/utils/interrupt.py,sha256=JoYJkigDEAPRHZtjo6gw6k3439E4i1O7F4_0ExkL_RE,405
16
- auth0_ai_langchain-0.1.2.dist-info/LICENSE,sha256=Lu_2YH0oK8b_VVisAhNQ2WIdtwY8pSU2PLbll-y6Cj8,9792
17
- auth0_ai_langchain-0.1.2.dist-info/METADATA,sha256=synK995x8fRtUFH2yR0oyh5vwGzZTEdC2zUJygtzAwQ,7786
18
- auth0_ai_langchain-0.1.2.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
19
- auth0_ai_langchain-0.1.2.dist-info/RECORD,,
15
+ auth0_ai_langchain/utils/interrupt.py,sha256=HHmlwKwQR_sx8dsV_cZTCYLDo6n6JuiPyLJxbhiI84w,449
16
+ auth0_ai_langchain-0.2.0.dist-info/LICENSE,sha256=Lu_2YH0oK8b_VVisAhNQ2WIdtwY8pSU2PLbll-y6Cj8,9792
17
+ auth0_ai_langchain-0.2.0.dist-info/METADATA,sha256=Gn337MU0yUTAFP_DUyRhkyxj6j5jw4frYmVpJmPMqis,7793
18
+ auth0_ai_langchain-0.2.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
19
+ auth0_ai_langchain-0.2.0.dist-info/RECORD,,