Skip to content

Commit

Permalink
chore: regenerate service (sdk)
Browse files Browse the repository at this point in the history
  • Loading branch information
simosho committed Apr 12, 2024
1 parent 7e0e50e commit f520333
Show file tree
Hide file tree
Showing 773 changed files with 1,863 additions and 1,833 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Waylay Registry CI
name: Waylay REGISTRY CI

on:
push:
Expand Down Expand Up @@ -60,13 +60,13 @@ jobs:

defaults:
run:
working-directory: ./waylay-sdk-registry
working-directory: ./waylay-sdk-REGISTRY

name: Publish api package to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/waylay-sdk-registry
url: https://pypi.org/p/waylay-sdk-REGISTRY

permissions:
actions: read
Expand All @@ -85,13 +85,13 @@ jobs:
id: check-tag
uses: samuelcolvin/[email protected]
with:
version_file_path: waylay-sdk-registry/src/waylay/services/registry/service/__init__.py
version_file_path: waylay-sdk-REGISTRY/src/waylay/services/REGISTRY/service/__init__.py
- name: Build
run: python3 -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: waylay-sdk-registry/dist
packages-dir: waylay-sdk-REGISTRY/dist

publish-types:
needs:
Expand All @@ -101,13 +101,13 @@ jobs:

defaults:
run:
working-directory: ./waylay-sdk-registry-types
working-directory: ./waylay-sdk-REGISTRY-types

name: Publish types package to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/waylay-sdk-registry-types
url: https://pypi.org/p/waylay-sdk-REGISTRY-types


permissions:
Expand All @@ -127,10 +127,10 @@ jobs:
id: check-tag
uses: samuelcolvin/[email protected]
with:
version_file_path: waylay-sdk-registry-types/src/waylay/services/registry/models/__init__.py
version_file_path: waylay-sdk-REGISTRY-types/src/waylay/services/REGISTRY/models/__init__.py
- name: Build
run: python3 -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: waylay-sdk-registry-types/dist
packages-dir: waylay-sdk-REGISTRY-types/dist
4 changes: 2 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -805,5 +805,5 @@ test/types/with_asset_hal_link_stub.py
test/types/with_entity_attributes_stub.py
test/types/with_limit_stub.py
test/types/with_paging_stub.py
waylay-sdk-registry-types/README.md
waylay-sdk-registry/README.md
waylay-sdk-REGISTRY-types/README.md
waylay-sdk-REGISTRY/README.md
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ help:
@awk 'BEGIN {FS = ":[^#]*? ## "} /^[a-zA-Z0-9_\-\.]+:[^#]* ## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
.DEFAULT_GOAL := help

SERVICE_NAME=registry
SERVICE_NAME=REGISTRY

API_FOLDER=waylay-sdk-${SERVICE_NAME}
API_SRC=${API_FOLDER}/src
Expand Down
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# Waylay Registry Service
# Waylay REGISTRY Service
V2 API to build and deploy Waylay functions (plugs, webscripts, BYOML models).

This Python package is automatically generated based on the
Waylay Registry OpenAPI specification (API version: 2.12.4)
For more information, please visit [the openapi specification](https://docs.waylay.io/openapi/public/redocly/registry.html).
Waylay REGISTRY OpenAPI specification (API version: 2.12.4)
For more information, please visit [the openapi specification](https://docs.waylay.io/openapi/public/redocly/REGISTRY.html).

It consists of two sub-packages that are both plugins for the waylay-sdk-core package.
- The `waylay-sdk-registry` sub-package contains the Registry api methods.
- The `waylay-sdk-registry-types` sub-package is an extension that contains the typed model classes for all path params, query params, body params and responses for each of the api methods in `waylay-sdk-registry`.
- The `waylay-sdk-REGISTRY` sub-package contains the REGISTRY api methods.
- The `waylay-sdk-REGISTRY-types` sub-package is an extension that contains the typed model classes for all path params, query params, body params and responses for each of the api methods in `waylay-sdk-REGISTRY`.

## Requirements.
This package requires Python 3.9+.

## Installation
Typically this package is installed when installing the [waylay-sdk-core](https://pypi.org/project/waylay-sdk/) package to enable the service's functionality.
When the service api methods are required, waylay-sdk-registry is included in:
- ```pip install waylay-sdk-core[registry]``` to install `waylay-sdk-core` along with only this service, or
When the service api methods are required, waylay-sdk-REGISTRY is included in:
- ```pip install waylay-sdk-core[REGISTRY]``` to install `waylay-sdk-core` along with only this service, or
- ```pip install waylay-sdk-core[services]``` to install `waylay-sdk-core` along with all services.
When the typed models are required, both waylay-sdk-registry and waylay-sdk-registry-types are included in:
- ```pip install waylay-sdk-core[registry,registry-types]``` to install `waylay-sdk-core` along with only this service including the typed models, or
When the typed models are required, both waylay-sdk-REGISTRY and waylay-sdk-REGISTRY-types are included in:
- ```pip install waylay-sdk-core[REGISTRY,REGISTRY-types]``` to install `waylay-sdk-core` along with only this service including the typed models, or
- ```pip install waylay-sdk-core[services,services-types]``` to install `waylay-sdk-core` along with all services along with the typed models.

## Usage
Expand All @@ -33,23 +33,23 @@ from waylay.sdk.api.api_exceptions import ApiError
# Intialize a waylay client instance
waylay_client = WaylayClient.from_profile()

# Note that the typed model classes for responses/parameters/... are only available when `waylay-sdk-registry-types` is installed
from waylay.services.registry.models.function_type import FunctionType
from waylay.services.registry.models.job_state_result import JobStateResult
from waylay.services.registry.models.job_type_schema import JobTypeSchema
from waylay.services.registry.models.jobs_response import JobsResponse
# Note that the typed model classes for responses/parameters/... are only available when `waylay-sdk-REGISTRY-types` is installed
from waylay.services.REGISTRY.models.function_type import FunctionType
from waylay.services.REGISTRY.models.job_state_result import JobStateResult
from waylay.services.REGISTRY.models.job_type_schema import JobTypeSchema
from waylay.services.REGISTRY.models.jobs_response import JobsResponse
try:
# List Jobs
# calls `GET /registry/v2/jobs/`
api_response = await waylay_client.registry.jobs.list(
api_response = await waylay_client.REGISTRY.jobs.list(
# query parameters:
query = {
},
)
print("The response of registry.jobs.list:\n")
print("The response of REGISTRY.jobs.list:\n")
pprint(api_response)
except ApiError as e:
print("Exception when calling registry.jobs.list: %s\n" % e)
print("Exception when calling REGISTRY.jobs.list: %s\n" % e)
```


Expand Down
2 changes: 1 addition & 1 deletion docs/ActiveEventData.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.active_event_data import ActiveEventData
from waylay.services.REGISTRY.models.active_event_data import ActiveEventData

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/ActiveEventSSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.active_event_sse import ActiveEventSSE
from waylay.services.REGISTRY.models.active_event_sse import ActiveEventSSE

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AltVersionHALLink.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.alt_version_hal_link import AltVersionHALLink
from waylay.services.REGISTRY.models.alt_version_hal_link import AltVersionHALLink

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AnyFunctionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.any_function_response import AnyFunctionResponse
from waylay.services.REGISTRY.models.any_function_response import AnyFunctionResponse

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AnyJobForFunction.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.any_job_for_function import AnyJobForFunction
from waylay.services.REGISTRY.models.any_job_for_function import AnyJobForFunction

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AnyJobResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.any_job_result import AnyJobResult
from waylay.services.REGISTRY.models.any_job_result import AnyJobResult

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AnyJobStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.any_job_status import AnyJobStatus
from waylay.services.REGISTRY.models.any_job_status import AnyJobStatus

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AnyJobStatusSummary.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.any_job_status_summary import AnyJobStatusSummary
from waylay.services.REGISTRY.models.any_job_status_summary import AnyJobStatusSummary

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AssetCondition.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.asset_condition import AssetCondition
from waylay.services.REGISTRY.models.asset_condition import AssetCondition

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AssetConditionContentType.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.asset_condition_content_type import AssetConditionContentType
from waylay.services.REGISTRY.models.asset_condition_content_type import AssetConditionContentType

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AssetConditionPattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.asset_condition_pattern import AssetConditionPattern
from waylay.services.REGISTRY.models.asset_condition_pattern import AssetConditionPattern

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AssetPathParamsV2.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.asset_path_params_v2 import AssetPathParamsV2
from waylay.services.REGISTRY.models.asset_path_params_v2 import AssetPathParamsV2

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AssetSummary.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.asset_summary import AssetSummary
from waylay.services.REGISTRY.models.asset_summary import AssetSummary

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AssetSummaryWithHALLink.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.asset_summary_with_hal_link import AssetSummaryWithHALLink
from waylay.services.REGISTRY.models.asset_summary_with_hal_link import AssetSummaryWithHALLink

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AssetSummaryWithHALLinkLinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.asset_summary_with_hal_link_links import AssetSummaryWithHALLinkLinks
from waylay.services.REGISTRY.models.asset_summary_with_hal_link_links import AssetSummaryWithHALLinkLinks

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AssetsConditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.assets_conditions import AssetsConditions
from waylay.services.REGISTRY.models.assets_conditions import AssetsConditions

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AsyncDeployQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.async_deploy_query import AsyncDeployQuery
from waylay.services.REGISTRY.models.async_deploy_query import AsyncDeployQuery

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AsyncDeployQueryV1.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.async_deploy_query_v1 import AsyncDeployQueryV1
from waylay.services.REGISTRY.models.async_deploy_query_v1 import AsyncDeployQueryV1

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AsyncQueryDefaultFalse.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.async_query_default_false import AsyncQueryDefaultFalse
from waylay.services.REGISTRY.models.async_query_default_false import AsyncQueryDefaultFalse

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AsyncQueryDefaultTrue.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.async_query_default_true import AsyncQueryDefaultTrue
from waylay.services.REGISTRY.models.async_query_default_true import AsyncQueryDefaultTrue

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/AsyncVerifyQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.async_verify_query import AsyncVerifyQuery
from waylay.services.REGISTRY.models.async_verify_query import AsyncVerifyQuery

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/Batch.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.batch import Batch
from waylay.services.REGISTRY.models.batch import Batch

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/BatchArgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.batch_args import BatchArgs
from waylay.services.REGISTRY.models.batch_args import BatchArgs

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/BatchJobStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.batch_job_status import BatchJobStatus
from waylay.services.REGISTRY.models.batch_job_status import BatchJobStatus

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/BatchResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.batch_result import BatchResult
from waylay.services.REGISTRY.models.batch_result import BatchResult

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/Build.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.build import Build
from waylay.services.REGISTRY.models.build import Build

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/Build1.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
## Example

```python
from waylay.services.registry.models.build1 import Build1
from waylay.services.REGISTRY.models.build1 import Build1

# TODO update the JSON string below
json = "{}"
Expand Down
Loading

0 comments on commit f520333

Please sign in to comment.