Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3922,9 +3922,12 @@ Namespace | Name | Import |
**Ontologies** | MarketplaceSdkObjectMappingNotFound | `from foundry_sdk.v2.ontologies.errors import MarketplaceSdkObjectMappingNotFound` |
**Ontologies** | MarketplaceSdkPropertyMappingNotFound | `from foundry_sdk.v2.ontologies.errors import MarketplaceSdkPropertyMappingNotFound` |
**Ontologies** | MarketplaceSdkQueryMappingNotFound | `from foundry_sdk.v2.ontologies.errors import MarketplaceSdkQueryMappingNotFound` |
**Ontologies** | MediaUploadDestinationNotConfigured | `from foundry_sdk.v2.ontologies.errors import MediaUploadDestinationNotConfigured` |
**Ontologies** | MediaUploadPropertyNotBackedByMediaSetView | `from foundry_sdk.v2.ontologies.errors import MediaUploadPropertyNotBackedByMediaSetView` |
**Ontologies** | MissingParameter | `from foundry_sdk.v2.ontologies.errors import MissingParameter` |
**Ontologies** | MissingValueTypeReference | `from foundry_sdk.v2.ontologies.errors import MissingValueTypeReference` |
**Ontologies** | MultipleGroupByOnFieldNotSupported | `from foundry_sdk.v2.ontologies.errors import MultipleGroupByOnFieldNotSupported` |
**Ontologies** | MultipleMediaUploadDestinations | `from foundry_sdk.v2.ontologies.errors import MultipleMediaUploadDestinations` |
**Ontologies** | MultiplePropertyValuesNotSupported | `from foundry_sdk.v2.ontologies.errors import MultiplePropertyValuesNotSupported` |
**Ontologies** | NotCipherFormatted | `from foundry_sdk.v2.ontologies.errors import NotCipherFormatted` |
**Ontologies** | ObjectAlreadyExists | `from foundry_sdk.v2.ontologies.errors import ObjectAlreadyExists` |
Expand Down Expand Up @@ -4250,9 +4253,12 @@ Namespace | Name | Import |
**Ontologies** | MarketplaceSdkObjectMappingNotFound | `from foundry_sdk.v1.ontologies.errors import MarketplaceSdkObjectMappingNotFound` |
**Ontologies** | MarketplaceSdkPropertyMappingNotFound | `from foundry_sdk.v1.ontologies.errors import MarketplaceSdkPropertyMappingNotFound` |
**Ontologies** | MarketplaceSdkQueryMappingNotFound | `from foundry_sdk.v1.ontologies.errors import MarketplaceSdkQueryMappingNotFound` |
**Ontologies** | MediaUploadDestinationNotConfigured | `from foundry_sdk.v1.ontologies.errors import MediaUploadDestinationNotConfigured` |
**Ontologies** | MediaUploadPropertyNotBackedByMediaSetView | `from foundry_sdk.v1.ontologies.errors import MediaUploadPropertyNotBackedByMediaSetView` |
**Ontologies** | MissingParameter | `from foundry_sdk.v1.ontologies.errors import MissingParameter` |
**Ontologies** | MissingValueTypeReference | `from foundry_sdk.v1.ontologies.errors import MissingValueTypeReference` |
**Ontologies** | MultipleGroupByOnFieldNotSupported | `from foundry_sdk.v1.ontologies.errors import MultipleGroupByOnFieldNotSupported` |
**Ontologies** | MultipleMediaUploadDestinations | `from foundry_sdk.v1.ontologies.errors import MultipleMediaUploadDestinations` |
**Ontologies** | MultiplePropertyValuesNotSupported | `from foundry_sdk.v1.ontologies.errors import MultiplePropertyValuesNotSupported` |
**Ontologies** | NotCipherFormatted | `from foundry_sdk.v1.ontologies.errors import NotCipherFormatted` |
**Ontologies** | ObjectAlreadyExists | `from foundry_sdk.v1.ontologies.errors import ObjectAlreadyExists` |
Expand Down
2 changes: 1 addition & 1 deletion docs-snippets-npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"sls": {
"dependencies": {
"com.palantir.foundry.api:api-gateway": {
"minVersion": "1.1665.0",
"minVersion": "1.1679.0",
"maxVersion": "1.x.x",
"optional": false
}
Expand Down
6 changes: 3 additions & 3 deletions docs-snippets-npm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ export const PYTHON_PLATFORM_SNIPPETS: SdkSnippets<typeof PLATFORM_API_DOCS_SPEC
],
"v2.decrypt": [
{
"template": "from foundry_sdk import FoundryClient\nimport foundry_sdk\nfrom pprint import pprint\n\nclient = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname=\"example.palantirfoundry.com\")\n\n# OntologyIdentifier\nontology = \"palantir\"\n# ObjectTypeApiName | The API name of the object type. To find the API name, use the **List object types** endpoint or check the **Ontology Manager**.\nobject_type = \"employee\"\n# PropertyValueEscapedString | The primary key of the object with the CipherText property.\nprimary_key = 50030\n# PropertyApiName | The API name of the CipherText property. To find the API name for your CipherText property, check the **Ontology Manager** or use the **Get object type** endpoint.\nproperty = \"performance\"\n\n\ntry:\n api_response = client.ontologies.CipherTextProperty.decrypt(\n ontology, object_type, primary_key, property\n )\n print(\"The decrypt response:\\n\")\n pprint(api_response)\nexcept foundry_sdk.PalantirRPCException as e:\n print(\"HTTP error when calling CipherTextProperty.decrypt: %s\\n\" % e)"
"template": "from foundry_sdk import FoundryClient\nimport foundry_sdk\nfrom pprint import pprint\n\nclient = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname=\"example.palantirfoundry.com\")\n\n# OntologyIdentifier\nontology = \"palantir\"\n# ObjectTypeApiName | The API name of the object type. To find the API name, use the **List object types** endpoint or check the **Ontology Manager**.\nobject_type = \"employee\"\n# PropertyValueEscapedString | The primary key of the object with the CipherText property.\nprimary_key = 50030\n# PropertyApiName | The API name of the CipherText property. To find the API name for your CipherText property, check the **Ontology Manager** or use the **Get object type** endpoint.\nproperty = \"performance\"\n# Optional[FoundryBranch] | The Foundry branch to read from. If not specified, the default branch will be used.\nbranch = None\n\n\ntry:\n api_response = client.ontologies.CipherTextProperty.decrypt(\n ontology, object_type, primary_key, property, branch=branch\n )\n print(\"The decrypt response:\\n\")\n pprint(api_response)\nexcept foundry_sdk.PalantirRPCException as e:\n print(\"HTTP error when calling CipherTextProperty.decrypt: %s\\n\" % e)"
}
],
"v2.loadGeotemporalSeriesEntries": [
Expand Down Expand Up @@ -1810,12 +1810,12 @@ export const PYTHON_PLATFORM_SNIPPETS: SdkSnippets<typeof PLATFORM_API_DOCS_SPEC
],
"v2.getLatestValue": [
{
"template": "from foundry_sdk import FoundryClient\nimport foundry_sdk\nfrom pprint import pprint\n\nclient = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname=\"example.palantirfoundry.com\")\n\n# OntologyIdentifier\nontology = \"palantir\"\n# ObjectTypeApiName | The API name of the object type. To find the API name, use the **List object types** endpoint or check the **Ontology Manager**.\nobject_type = \"employee\"\n# PropertyValueEscapedString | The primary key of the object with the timeseries property.\nprimary_key = 50030\n# PropertyApiName | The API name of the timeseries property. To find the API name for your property value bank property, check the **Ontology Manager** or use the **Get object type** endpoint.\nproperty_name = \"performance\"\n# Optional[SdkPackageRid] | The package rid of the generated SDK.\nsdk_package_rid = None\n# Optional[SdkVersion] | The version of the generated SDK.\nsdk_version = None\n\n\ntry:\n api_response = client.ontologies.TimeSeriesValueBankProperty.get_latest_value(\n ontology,\n object_type,\n primary_key,\n property_name,\n sdk_package_rid=sdk_package_rid,\n sdk_version=sdk_version,\n )\n print(\"The get_latest_value response:\\n\")\n pprint(api_response)\nexcept foundry_sdk.PalantirRPCException as e:\n print(\"HTTP error when calling TimeSeriesValueBankProperty.get_latest_value: %s\\n\" % e)"
"template": "from foundry_sdk import FoundryClient\nimport foundry_sdk\nfrom pprint import pprint\n\nclient = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname=\"example.palantirfoundry.com\")\n\n# OntologyIdentifier\nontology = \"palantir\"\n# ObjectTypeApiName | The API name of the object type. To find the API name, use the **List object types** endpoint or check the **Ontology Manager**.\nobject_type = \"employee\"\n# PropertyValueEscapedString | The primary key of the object with the timeseries property.\nprimary_key = 50030\n# PropertyApiName | The API name of the timeseries property. To find the API name for your property value bank property, check the **Ontology Manager** or use the **Get object type** endpoint.\nproperty_name = \"performance\"\n# Optional[FoundryBranch] | The Foundry branch to read from. If not specified, the default branch will be used.\nbranch = None\n# Optional[SdkPackageRid] | The package rid of the generated SDK.\nsdk_package_rid = None\n# Optional[SdkVersion] | The version of the generated SDK.\nsdk_version = None\n\n\ntry:\n api_response = client.ontologies.TimeSeriesValueBankProperty.get_latest_value(\n ontology,\n object_type,\n primary_key,\n property_name,\n branch=branch,\n sdk_package_rid=sdk_package_rid,\n sdk_version=sdk_version,\n )\n print(\"The get_latest_value response:\\n\")\n pprint(api_response)\nexcept foundry_sdk.PalantirRPCException as e:\n print(\"HTTP error when calling TimeSeriesValueBankProperty.get_latest_value: %s\\n\" % e)"
}
],
"v2.streamValues": [
{
"template": "from foundry_sdk import FoundryClient\nimport foundry_sdk\nfrom pprint import pprint\n\nclient = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname=\"example.palantirfoundry.com\")\n\n# OntologyIdentifier\nontology = \"palantir\"\n# ObjectTypeApiName | The API name of the object type. To find the API name, use the **List object types** endpoint or check the **Ontology Manager**.\nobject_type = \"employee\"\n# PropertyValueEscapedString | The primary key of the object with the time series property.\nprimary_key = 50030\n# PropertyApiName | The API name of the time series backed property. To find the API name, check the **Ontology Manager** or use the **Get object type** endpoint.\nproperty = None\n# Optional[TimeRange]\nrange = {\n \"type\": \"relative\",\n \"startTime\": {\"when\": \"BEFORE\", \"value\": 5, \"unit\": \"MONTHS\"},\n \"endTime\": {\"when\": \"BEFORE\", \"value\": 1, \"unit\": \"MONTHS\"},\n}\n# Optional[SdkPackageRid] | The package rid of the generated SDK.\nsdk_package_rid = None\n# Optional[SdkVersion] | The version of the generated SDK.\nsdk_version = None\n\n\ntry:\n api_response = client.ontologies.TimeSeriesValueBankProperty.stream_values(\n ontology,\n object_type,\n primary_key,\n property,\n range=range,\n sdk_package_rid=sdk_package_rid,\n sdk_version=sdk_version,\n )\n print(\"The stream_values response:\\n\")\n pprint(api_response)\nexcept foundry_sdk.PalantirRPCException as e:\n print(\"HTTP error when calling TimeSeriesValueBankProperty.stream_values: %s\\n\" % e)"
"template": "from foundry_sdk import FoundryClient\nimport foundry_sdk\nfrom pprint import pprint\n\nclient = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname=\"example.palantirfoundry.com\")\n\n# OntologyIdentifier\nontology = \"palantir\"\n# ObjectTypeApiName | The API name of the object type. To find the API name, use the **List object types** endpoint or check the **Ontology Manager**.\nobject_type = \"employee\"\n# PropertyValueEscapedString | The primary key of the object with the time series property.\nprimary_key = 50030\n# PropertyApiName | The API name of the time series backed property. To find the API name, check the **Ontology Manager** or use the **Get object type** endpoint.\nproperty = None\n# Optional[FoundryBranch] | The Foundry branch to read from. If not specified, the default branch will be used.\nbranch = None\n# Optional[TimeRange]\nrange = {\n \"type\": \"relative\",\n \"startTime\": {\"when\": \"BEFORE\", \"value\": 5, \"unit\": \"MONTHS\"},\n \"endTime\": {\"when\": \"BEFORE\", \"value\": 1, \"unit\": \"MONTHS\"},\n}\n# Optional[SdkPackageRid] | The package rid of the generated SDK.\nsdk_package_rid = None\n# Optional[SdkVersion] | The version of the generated SDK.\nsdk_version = None\n\n\ntry:\n api_response = client.ontologies.TimeSeriesValueBankProperty.stream_values(\n ontology,\n object_type,\n primary_key,\n property,\n branch=branch,\n range=range,\n sdk_package_rid=sdk_package_rid,\n sdk_version=sdk_version,\n )\n print(\"The stream_values response:\\n\")\n pprint(api_response)\nexcept foundry_sdk.PalantirRPCException as e:\n print(\"HTTP error when calling TimeSeriesValueBankProperty.stream_values: %s\\n\" % e)"
}
],
"v2.cancelBuild": [
Expand Down
5 changes: 4 additions & 1 deletion docs/v2/Ontologies/CipherTextProperty.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes |
**object_type** | ObjectTypeApiName | The API name of the object type. To find the API name, use the **List object types** endpoint or check the **Ontology Manager**. | |
**primary_key** | PropertyValueEscapedString | The primary key of the object with the CipherText property. | |
**property** | PropertyApiName | The API name of the CipherText property. To find the API name for your CipherText property, check the **Ontology Manager** or use the **Get object type** endpoint. | |
**branch** | Optional[FoundryBranch] | The Foundry branch to read from. If not specified, the default branch will be used. | [optional] |

### Return type
**DecryptionResult**
Expand All @@ -37,11 +38,13 @@ object_type = "employee"
primary_key = 50030
# PropertyApiName | The API name of the CipherText property. To find the API name for your CipherText property, check the **Ontology Manager** or use the **Get object type** endpoint.
property = "performance"
# Optional[FoundryBranch] | The Foundry branch to read from. If not specified, the default branch will be used.
branch = None


try:
api_response = client.ontologies.CipherTextProperty.decrypt(
ontology, object_type, primary_key, property
ontology, object_type, primary_key, property, branch=branch
)
print("The decrypt response:\n")
pprint(api_response)
Expand Down
8 changes: 8 additions & 0 deletions docs/v2/Ontologies/TimeSeriesValueBankProperty.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes |
**object_type** | ObjectTypeApiName | The API name of the object type. To find the API name, use the **List object types** endpoint or check the **Ontology Manager**. | |
**primary_key** | PropertyValueEscapedString | The primary key of the object with the timeseries property. | |
**property_name** | PropertyApiName | The API name of the timeseries property. To find the API name for your property value bank property, check the **Ontology Manager** or use the **Get object type** endpoint. | |
**branch** | Optional[FoundryBranch] | The Foundry branch to read from. If not specified, the default branch will be used. | [optional] |
**sdk_package_rid** | Optional[SdkPackageRid] | The package rid of the generated SDK. | [optional] |
**sdk_version** | Optional[SdkVersion] | The version of the generated SDK. | [optional] |

Expand All @@ -40,6 +41,8 @@ object_type = "employee"
primary_key = 50030
# PropertyApiName | The API name of the timeseries property. To find the API name for your property value bank property, check the **Ontology Manager** or use the **Get object type** endpoint.
property_name = "performance"
# Optional[FoundryBranch] | The Foundry branch to read from. If not specified, the default branch will be used.
branch = None
# Optional[SdkPackageRid] | The package rid of the generated SDK.
sdk_package_rid = None
# Optional[SdkVersion] | The version of the generated SDK.
Expand All @@ -52,6 +55,7 @@ try:
object_type,
primary_key,
property_name,
branch=branch,
sdk_package_rid=sdk_package_rid,
sdk_version=sdk_version,
)
Expand Down Expand Up @@ -87,6 +91,7 @@ Name | Type | Description | Notes |
**object_type** | ObjectTypeApiName | The API name of the object type. To find the API name, use the **List object types** endpoint or check the **Ontology Manager**. | |
**primary_key** | PropertyValueEscapedString | The primary key of the object with the time series property. | |
**property** | PropertyApiName | The API name of the time series backed property. To find the API name, check the **Ontology Manager** or use the **Get object type** endpoint. | |
**branch** | Optional[FoundryBranch] | The Foundry branch to read from. If not specified, the default branch will be used. | [optional] |
**range** | Optional[TimeRange] | | [optional] |
**sdk_package_rid** | Optional[SdkPackageRid] | The package rid of the generated SDK. | [optional] |
**sdk_version** | Optional[SdkVersion] | The version of the generated SDK. | [optional] |
Expand All @@ -111,6 +116,8 @@ object_type = "employee"
primary_key = 50030
# PropertyApiName | The API name of the time series backed property. To find the API name, check the **Ontology Manager** or use the **Get object type** endpoint.
property = None
# Optional[FoundryBranch] | The Foundry branch to read from. If not specified, the default branch will be used.
branch = None
# Optional[TimeRange]
range = {
"type": "relative",
Expand All @@ -129,6 +136,7 @@ try:
object_type,
primary_key,
property,
branch=branch,
range=range,
sdk_package_rid=sdk_package_rid,
sdk_version=sdk_version,
Expand Down
2 changes: 1 addition & 1 deletion foundry_sdk/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
# using the autorelease bot
__version__ = "0.0.0"

__openapi_document_version__ = "1.1665.0"
__openapi_document_version__ = "1.1679.0"
Loading