external-systems 0.106.0__tar.gz → 0.107.0__tar.gz

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 external-systems might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: external-systems
3
- Version: 0.106.0
3
+ Version: 0.107.0
4
4
  Summary: A Python library for interacting with Foundry Sources
5
5
  License: Apache-2.0
6
6
  Keywords: Palantir,Foundry,Sources,Compute Modules,Python Functions,Transforms
@@ -16,4 +16,4 @@
16
16
  # The version is set during the publishing step (since we can't know the version in advance)
17
17
  # using the autorelease bot
18
18
 
19
- __version__ = "0.106.0"
19
+ __version__ = "0.107.0"
@@ -18,6 +18,7 @@ from ._api import (
18
18
  ClientCertificateFilePaths,
19
19
  GcpOauthCredentials,
20
20
  HttpsConnectionParameters,
21
+ OauthCredentials,
21
22
  SourceCredentials,
22
23
  SourceParameters,
23
24
  )
@@ -33,6 +34,7 @@ __all__ = [
33
34
  "HttpsConnectionParameters",
34
35
  "Source",
35
36
  "SourceParameters",
37
+ "OauthCredentials",
36
38
  "RefreshHandler",
37
39
  "Refreshable",
38
40
  "AwsCredentials",
@@ -72,8 +72,14 @@ class GcpOauthCredentials:
72
72
  expiration: Optional[datetime] = None
73
73
 
74
74
 
75
+ @dataclass(frozen=True)
76
+ class OauthCredentials:
77
+ access_token: str
78
+ expiration: datetime
79
+
80
+
75
81
  # Each new credential type must include an expiration field
76
- SourceCredentials = Union[AwsCredentials, GcpOauthCredentials]
82
+ SourceCredentials = Union[AwsCredentials, GcpOauthCredentials, OauthCredentials]
77
83
 
78
84
 
79
85
  @dataclass(frozen=True)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "external-systems"
3
- version = "0.106.0"
3
+ version = "0.107.0"
4
4
  description = "A Python library for interacting with Foundry Sources"
5
5
  authors = ["Palantir Technologies, Inc."]
6
6
  license = "Apache-2.0"