Skip to content

Releases: arcalot/arcaflow-plugin-sdk-python

0.14.3 Fix list sub-types

08 Nov 16:53
d4b7c9f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.14.2...0.14.3

0.14.2 Fixes bugs and breaking changes

16 Sep 17:11
6dcecbd
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.14.1...0.14.2

0.14.1: Bug fixes/detection, compatibility improvements, and dependency updates

03 Jul 14:12
9ea3692
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.14.0...0.14.1

0.14.1-beta1: Bug and Compatibility Fixes

25 Jun 14:43
9a9eaa0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.14.0...0.14.1-beta1

0.14.0

29 Apr 10:13
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.13.0...0.14.0

0.14.0-beta1 Enable Inline Discriminators

11 Apr 18:41
Compare
Choose a tag to compare

Adds a boolean attribute, discriminator_inlined, to OneOfStringType and OneOfIntType describing whether or not the discriminator field name is embedded inline with the schemas of the underlying types (the union's constituent/member types).

import dataclasses
import typing

from arcaflow_plugin_sdk import schema


@dataclasses.dataclass
class InlineInt:
    type_: int
    msg: str


@dataclasses.dataclass
class InlineInt2:
    type_: int
    msg2: str


@dataclasses.dataclass
class TestData:
    union: typing.Annotated[
        typing.Union[
            typing.Annotated[InlineInt, schema.discriminator_value(1)],
            typing.Annotated[
                InlineInt2, schema.discriminator_value(2)
            ],
        ],
        schema.discriminator(
           discriminator_field_name="type_",
           discriminator_inlined=True
        ),
    ]

0.13.0

26 Oct 15:14
dc1fc71
Compare
Choose a tag to compare

NOTE: 0.12.0 and 0.13.0 require a new engine that supports ATP v3. Do not update your plugins until you can use the new engine.

What's Changed

Full Changelog: 0.12.0...0.13.0

0.13.0-alpha1

26 Oct 09:49
Compare
Choose a tag to compare
0.13.0-alpha1 Pre-release
Pre-release

Full Changelog: 0.12.0...0.13.0-alpha1

0.12.0 ATP v3

25 Oct 13:36
db1d63b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.11.0...0.12.0

0.12.0.beta.1: ATP v3

13 Oct 16:28
8b656dc
Compare
Choose a tag to compare
0.12.0.beta.1: ATP v3 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 0.11.0...0.12.0.beta.1