Skip to content

Commit

Permalink
Updates for v2.1.38
Browse files Browse the repository at this point in the history
  • Loading branch information
Concourse committed Jun 3, 2024
1 parent e85f2c8 commit ad5b105
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FINBOURNE Technology

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.1.1084
- Package version: 2.1.37
- API version: 0.1.1085
- Package version: 2.1.38
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://www.finbourne.com](https://www.finbourne.com)

Expand Down
Binary file not shown.
Binary file added sdk/dist/lusid_workflow_sdk-2.1.38.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion sdk/docs/CreateNewTaskActivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Define a Task Activity that creates a new task
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**initial_trigger** | **str** | Trigger to supply to all tasks to be made |
**initial_trigger** | **str** | Trigger to supply to all tasks to be made | [optional]
**type** | **str** | The type of task activity |
**correlation_ids** | [**List[EventHandlerMapping]**](EventHandlerMapping.md) | The event to correlation ID mappings | [optional]
**task_fields** | [**Dict[str, FieldMapping]**](FieldMapping.md) | The event to task field mappings | [optional]
Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/TaskActivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**type** | **str** | The type of task activity |
**correlation_ids** | [**List[EventHandlerMapping]**](EventHandlerMapping.md) | The event to correlation ID mappings | [optional]
**task_fields** | [**Dict[str, FieldMapping]**](FieldMapping.md) | The event to task field mappings | [optional]
**initial_trigger** | **str** | Trigger to supply to all tasks to be made |
**initial_trigger** | **str** | Trigger to supply to all tasks to be made | [optional]
**filter** | **str** | The filter that matches on existing tasks | [optional]
**trigger** | **str** | Trigger to supply to all tasks that have been matched |

Expand Down
2 changes: 1 addition & 1 deletion sdk/lusid_workflow/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.1.1084\n"\
"Version of the API: 0.1.1085\n"\
"SDK Package Version: {package_version}".\
format(env=sys.platform, pyversion=sys.version, package_version=package_version)

Expand Down
9 changes: 7 additions & 2 deletions sdk/lusid_workflow/models/create_new_task_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@


from typing import Any, Dict, List, Optional
from pydantic.v1 import BaseModel, Field, conlist, constr, validator
from pydantic.v1 import BaseModel, Field, StrictStr, conlist, constr, validator
from lusid_workflow.models.event_handler_mapping import EventHandlerMapping
from lusid_workflow.models.field_mapping import FieldMapping

class CreateNewTaskActivity(BaseModel):
"""
Define a Task Activity that creates a new task # noqa: E501
"""
initial_trigger: constr(strict=True, min_length=1) = Field(..., alias="initialTrigger", description="Trigger to supply to all tasks to be made")
initial_trigger: Optional[StrictStr] = Field(None, alias="initialTrigger", description="Trigger to supply to all tasks to be made")
type: constr(strict=True, min_length=1) = Field(..., description="The type of task activity")
correlation_ids: Optional[conlist(EventHandlerMapping)] = Field(None, alias="correlationIds", description="The event to correlation ID mappings")
task_fields: Optional[Dict[str, FieldMapping]] = Field(None, alias="taskFields", description="The event to task field mappings")
Expand Down Expand Up @@ -78,6 +78,11 @@ def to_dict(self):
if self.task_fields[_key]:
_field_dict[_key] = self.task_fields[_key].to_dict()
_dict['taskFields'] = _field_dict
# set to None if initial_trigger (nullable) is None
# and __fields_set__ contains the field
if self.initial_trigger is None and "initial_trigger" in self.__fields_set__:
_dict['initialTrigger'] = None

# set to None if correlation_ids (nullable) is None
# and __fields_set__ contains the field
if self.correlation_ids is None and "correlation_ids" in self.__fields_set__:
Expand Down
2 changes: 1 addition & 1 deletion sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "lusid-workflow-sdk"
version = "2.1.37"
version = "2.1.38"
description = "FINBOURNE Workflow API"
authors = ["FINBOURNE Technology <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit ad5b105

Please sign in to comment.